[PATCH 08/23] lpc24xx/.../bspreset.c: Eliminate warning for set not used variable

Joel Sherrill joel.sherrill at oarcorp.com
Wed Sep 3 15:26:02 UTC 2014


---
 c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c b/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c
index d98f907..cb63431 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c
@@ -31,6 +31,7 @@ BSP_START_TEXT_SECTION __attribute__((flatten)) void bsp_reset(void)
 {
   rtems_interrupt_level level;
 
+  (void) level;
   rtems_interrupt_disable(level);
 
   #if defined(ARM_MULTILIB_ARCH_V4)
-- 
1.9.3




More information about the devel mailing list