summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/i386/rtems/score/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 21:45:37 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-20 10:02:03 -0500
commit6c8e0dc81c093ccb88e40e4119c5175f5afc35f3 (patch)
treeb60a568cc0d1ae6a56154fa9b0a51e980aa23fac /cpukit/score/cpu/i386/rtems/score/cpu.h
parentm68k/csb360: Fix warnings (diff)
downloadrtems-6c8e0dc81c093ccb88e40e4119c5175f5afc35f3.tar.bz2
score/cpu/i386/rtems/score/cpu.h: Fix set but not used warning
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/i386/rtems/score/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index e0ab037938..13d31a41ae 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -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; \
\