[rtems commit] gp32/.../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: 2f8c2676156d86e16ef0c63dd9f2d362d66a608c
Changeset: http://git.rtems.org/rtems/commit/?id=2f8c2676156d86e16ef0c63dd9f2d362d66a608c
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Sep 2 18:01:37 2014 -0500
gp32/.../bspreset.c: Eliminate warning for set not used variable
---
c/src/lib/libbsp/arm/gp32/startup/bspreset.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/arm/gp32/startup/bspreset.c b/c/src/lib/libbsp/arm/gp32/startup/bspreset.c
index e98fb72..f88e848 100644
--- a/c/src/lib/libbsp/arm/gp32/startup/bspreset.c
+++ b/c/src/lib/libbsp/arm/gp32/startup/bspreset.c
@@ -9,6 +9,8 @@
void bsp_reset(void)
{
rtems_interrupt_level level;
+
+ (void) level;
rtems_interrupt_disable(level);
/* disable mmu, invalide i-cache and call swi #4 */
__asm__ volatile(""
More information about the vc
mailing list