score/cpu/i386/rtems/score/cpu.h: Fix set but not used warning

This commit is contained in:
Joel Sherrill
2014-10-19 21:45:37 -05:00
parent 4f21badbb9
commit 6c8e0dc81c

View File

@@ -472,6 +472,7 @@ uint32_t _CPU_ISR_Get_level( void );
do { \
uint32_t _stack; \
\
(void) _is_fp; /* avoid warning for being unused */ \
if ( (_isr) ) (_the_context)->eflags = CPU_EFLAGS_INTERRUPTS_OFF; \
else (_the_context)->eflags = CPU_EFLAGS_INTERRUPTS_ON; \
\