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

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


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

diff --git a/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c b/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c
index 8ebd2a1..69f556a 100644
--- a/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/lpc176x/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 );
 
   _ARMV7M_SCB->aircr = ARMV7M_SCB_AIRCR_VECTKEY |
-- 
1.9.3




More information about the devel mailing list