[PATCH 10/42] powerpc/t32mppc/startup/bspstart.c: Fix set but not used warning
Joel Sherrill
joel.sherrill at oarcorp.com
Fri Oct 17 15:23:26 UTC 2014
---
c/src/lib/libbsp/powerpc/t32mppc/startup/bspstart.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/c/src/lib/libbsp/powerpc/t32mppc/startup/bspstart.c b/c/src/lib/libbsp/powerpc/t32mppc/startup/bspstart.c
index 04241f8..3e766e1 100644
--- a/c/src/lib/libbsp/powerpc/t32mppc/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/t32mppc/startup/bspstart.c
@@ -38,6 +38,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_get_version_string(), s);
--
1.9.3
More information about the devel
mailing list