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

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


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

diff --git a/c/src/lib/libbsp/arm/gp32/startup/bspreset.c b/c/src/lib/libbsp/arm/gp32/startup/bspreset.c
index e98fb72..f88e848 100644
--- a/c/src/lib/libbsp/arm/gp32/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/gp32/startup/bspreset.c
@@ -9,6 +9,8 @@
 void bsp_reset(void)
 {
   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