From 6c8e0dc81c093ccb88e40e4119c5175f5afc35f3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 19 Oct 2014 21:45:37 -0500 Subject: score/cpu/i386/rtems/score/cpu.h: Fix set but not used warning --- cpukit/score/cpu/i386/rtems/score/cpu.h | 1 + 1 file changed, 1 insertion(+) 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; \ \ -- cgit v1.2.3