[PATCH 09/23] rtl22xx/.../bspreset.c: Eliminate warning for set not used variable
Joel Sherrill
joel.sherrill at oarcorp.com
Wed Sep 3 15:26:03 UTC 2014
---
c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c b/c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c
index d3ee06b..deb58ac 100644
--- a/c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c
@@ -16,9 +16,10 @@ void bsp_reset(void)
SKYEYE_MAGIC_ADDRESS = 0xff;
#else
- rtems_interrupt_level level;
+ rtems_interrupt_level level;
- rtems_interrupt_disable(level);
+ (void) level;
+ rtems_interrupt_disable(level);
#ifdef __thumb__
int tmp;
--
1.9.3
More information about the devel
mailing list