[rtems commit] lm3s69xx/.../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: 6fc2ea3757cd59dde84d74ef55f89d8809903c15
Changeset: http://git.rtems.org/rtems/commit/?id=6fc2ea3757cd59dde84d74ef55f89d8809903c15
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Sep 2 18:03:22 2014 -0500
lm3s69xx/.../bspreset.c: Eliminate warning for set not used variable
---
c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c b/c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c
index 9b8764e..6509f81 100644
--- a/c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c
@@ -24,6 +24,7 @@ void bsp_reset(void)
{
rtems_interrupt_level level;
+ (void) level;
rtems_interrupt_disable(level);
_ARMV7M_SCB->aircr = ARMV7M_SCB_AIRCR_VECTKEY
More information about the vc
mailing list