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

Joel Sherrill joel.sherrill at oarcorp.com
Wed Sep 3 15:25:58 UTC 2014


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

diff --git a/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c b/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c
index ea11726..ff46d4f 100644
--- a/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c
@@ -20,6 +20,7 @@ void bsp_reset(void)
 {
   rtems_interrupt_level level;
 
+  (void) level;
   rtems_interrupt_disable(level);
 
   while (1);
-- 
1.9.3




More information about the devel mailing list