[rtems commit] lpc24xx/.../bspreset.c: Eliminate warning for set not used variable

Joel Sherrill joel at rtems.org
Thu Sep 4 13:59:24 UTC 2014


Module:    rtems
Branch:    master
Commit:    88d9f1cb1dba958fbf76086b4407f6c7df0dac72
Changeset: http://git.rtems.org/rtems/commit/?id=88d9f1cb1dba958fbf76086b4407f6c7df0dac72

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Sep  2 18:04:01 2014 -0500

lpc24xx/.../bspreset.c: Eliminate warning for set not used variable

---

 c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c b/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c
index d98f907..cb63431 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/lpc24xx/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);
 
   #if defined(ARM_MULTILIB_ARCH_V4)



More information about the vc mailing list