[rtems commit] lpc176x/.../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: 3e0638f153f06d713e208b9d03b51bdfac1dc451
Changeset: http://git.rtems.org/rtems/commit/?id=3e0638f153f06d713e208b9d03b51bdfac1dc451
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Sep 2 18:03:37 2014 -0500
lpc176x/.../bspreset.c: Eliminate warning for set not used variable
---
c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c b/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c
index 8ebd2a1..69f556a 100644
--- a/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/lpc176x/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 );
_ARMV7M_SCB->aircr = ARMV7M_SCB_AIRCR_VECTKEY |
More information about the vc
mailing list