[rtems commit] csb337/.../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:    3d05302955aaf1e14d4ce3b42579c0fcdaa08398
Changeset: http://git.rtems.org/rtems/commit/?id=3d05302955aaf1e14d4ce3b42579c0fcdaa08398

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

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

---

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

diff --git a/c/src/lib/libbsp/arm/csb337/startup/bspreset.c b/c/src/lib/libbsp/arm/csb337/startup/bspreset.c
index 940ff7f..1167d92 100644
--- a/c/src/lib/libbsp/arm/csb337/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/csb337/startup/bspreset.c
@@ -17,7 +17,6 @@ void bsp_reset(void)
 {
   rtems_interrupt_level level;
 
-  (void) level;
   rtems_interrupt_disable(level);
 
   /* Enable the watchdog timer, then wait for the world to end. */



More information about the vc mailing list