From db329a72c1eda3b8992b139fcde375f3dd697d1a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 2 Feb 2016 15:21:07 +0100 Subject: [PATCH] score: Avoid unused variable warnings --- cpukit/score/include/rtems/score/isrlock.h | 6 ++++-- 1 file 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 /**