diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-02 15:21:07 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-17 12:47:05 +0100 |
commit | db329a72c1eda3b8992b139fcde375f3dd697d1a (patch) | |
tree | 5ccd265a04cbcd2d3dd26fd9d5184f86e02f65bf | |
parent | smptests/smpwakeafter01: Add scheduler config (diff) | |
download | rtems-db329a72c1eda3b8992b139fcde375f3dd697d1a.tar.bz2 |
score: Avoid unused variable warnings
-rw-r--r-- | cpukit/score/include/rtems/score/isrlock.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/isrlock.h b/cpukit/score/include/rtems/score/isrlock.h index 994eb48ed0..12afd081f1 100644 --- a/cpukit/score/include/rtems/score/isrlock.h +++ b/cpukit/score/include/rtems/score/isrlock.h @@ -254,7 +254,8 @@ typedef struct { &( _context )->Lock_context \ ) #else - #define _ISR_lock_Acquire( _lock, _context ) + #define _ISR_lock_Acquire( _lock, _context ) \ + (void) _context; #endif /** @@ -276,7 +277,8 @@ typedef struct { &( _context )->Lock_context \ ) #else - #define _ISR_lock_Release( _lock, _context ) + #define _ISR_lock_Release( _lock, _context ) \ + (void) _context; #endif /** |