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

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


---
 c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c b/c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c
index 297bb4c..d6c583b 100644
--- a/c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c
@@ -17,6 +17,8 @@ void bsp_reset(void)
 #else
   /* XXX TODO this code is copied from gp32.. move it to a shared place */
   rtems_interrupt_level level;
+
+  (void) level;
   rtems_interrupt_disable(level);
   /* disable mmu, invalide i-cache and call swi #4 */
   __asm__ volatile(""
-- 
1.9.3




More information about the devel mailing list