[rtems commit] stm32f4/.../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: 59cb7e9f0c5eca203d292d3ef106c36bb51794c8
Changeset: http://git.rtems.org/rtems/commit/?id=59cb7e9f0c5eca203d292d3ef106c36bb51794c8
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Sep 2 18:02:11 2014 -0500
stm32f4/.../bspreset.c: Eliminate warning for set not used variable
---
c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c b/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c
index ea11726..ff46d4f 100644
--- a/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c
@@ -20,6 +20,7 @@ void bsp_reset(void)
{
rtems_interrupt_level level;
+ (void) level;
rtems_interrupt_disable(level);
while (1);
More information about the vc
mailing list