[PATCH 11/42] powerpc/tqm8xx/startup/bspstart.c: Fix set but not used warning
Joel Sherrill
joel.sherrill at oarcorp.com
Fri Oct 17 15:23:27 UTC 2014
---
c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c
index fdbe09a..bdbfff2 100644
--- a/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c
@@ -61,6 +61,7 @@ void BSP_panic( char *s)
rtems_interrupt_level level;
rtems_interrupt_disable( level);
+ (void) level; /* avoid set but not used warning */
printk( "%s PANIC %s\n", _RTEMS_version, s);
--
1.9.3
More information about the devel
mailing list