summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc64/rtems/score
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/sparc64/rtems/score')
-rw-r--r--cpukit/score/cpu/sparc64/rtems/score/sparc64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sparc64/rtems/score/sparc64.h b/cpukit/score/cpu/sparc64/rtems/score/sparc64.h
index c12e6c7b27..52a43c6c5f 100644
--- a/cpukit/score/cpu/sparc64/rtems/score/sparc64.h
+++ b/cpukit/score/cpu/sparc64/rtems/score/sparc64.h
@@ -321,10 +321,11 @@ void sparc_enable_interrupts(uint32_t);
#define sparc_flash_interrupts( _level ) \
do { \
- register uint32_t _ignored = 0; \
+ uint32_t _ignored; \
\
sparc_enable_interrupts( (_level) ); \
_ignored = sparc_disable_interrupts(); \
+ (void) _ignored; \
} while ( 0 )
#define sparc64_get_interrupt_level( _level ) \