[rtems commit] bsp/arm: Avoid warning

Sebastian Huber sebh at rtems.org
Thu Mar 13 15:15:49 UTC 2014


Module:    rtems
Branch:    master
Commit:    17864a4ae9f93f16f7317dfe7ad79d98941146d2
Changeset: http://git.rtems.org/rtems/commit/?id=17864a4ae9f93f16f7317dfe7ad79d98941146d2

Author:    Ralf Kirchner <ralf.kirchner at embedded-brains.de>
Date:      Thu Aug  1 16:45:42 2013 +0200

bsp/arm: Avoid warning

---

 c/src/lib/libbsp/arm/shared/abort/simple_abort.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/arm/shared/abort/simple_abort.c b/c/src/lib/libbsp/arm/shared/abort/simple_abort.c
index 039d23b..4ac28a0 100644
--- a/c/src/lib/libbsp/arm/shared/abort/simple_abort.c
+++ b/c/src/lib/libbsp/arm/shared/abort/simple_abort.c
@@ -157,6 +157,7 @@ void do_data_abort(
 
   /* disable interrupts, wait forever */
   rtems_interrupt_disable(level);
+  (void)level;
   while(1) {
     continue;
   }




More information about the vc mailing list