diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-20 08:31:30 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-20 08:56:28 +0200 |
commit | 218053d0f193ab9945d082f0a5855a82072cdab6 (patch) | |
tree | a28516e8c97e1b8dfb7dcdb9854464541182c271 /testsuites/sptests | |
parent | psxkey01: Fix configuration (diff) | |
download | rtems-218053d0f193ab9945d082f0a5855a82072cdab6.tar.bz2 |
sp37: Fix unused variable warnings
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/sp37/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/sptests/sp37/init.c b/testsuites/sptests/sp37/init.c index 22c7d4f2ef..4c8e1a7f64 100644 --- a/testsuites/sptests/sp37/init.c +++ b/testsuites/sptests/sp37/init.c @@ -169,7 +169,9 @@ static void test_isr_level( void ) static void test_isr_locks( void ) { +#if defined(RTEMS_SMP) static const char name[] = "test"; +#endif ISR_Level normal_interrupt_level = _ISR_Get_level(); ISR_lock_Control initialized = ISR_LOCK_INITIALIZER( name ); ISR_lock_Control zero_initialized; |