From a9c45a048a3101984445f641ccebb6896fcc87bd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 19 Oct 2014 21:45:51 -0500 Subject: score/cpu/lm32/rtems/score/cpu.h: Fix set but not used warning --- cpukit/score/cpu/lm32/rtems/score/cpu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpukit/score/cpu/lm32/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h index 17fa33c95f..67d7ebebac 100644 --- a/cpukit/score/cpu/lm32/rtems/score/cpu.h +++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h @@ -826,6 +826,9 @@ extern char _gp[]; _isr, _entry_point, _is_fp, _tls_area ) \ do { \ uint32_t _stack = (uint32_t)(_stack_base) + (_size) - 4; \ + \ + (void) _is_fp; /* avoid warning for being unused */ \ + (void) _isr; /* avoid warning for being unused */ \ (_the_context)->gp = (uint32_t)_gp; \ (_the_context)->fp = (uint32_t)_stack; \ (_the_context)->sp = (uint32_t)_stack; \ -- cgit v1.2.3