forked from Imagelibrary/rtems
score/cpu/moxie/.../cpu.h: Address unused variable warning
The Moxie does not implement the interrupt disable/enable functions and this led to an unused variable warning. Just added proper annotation to let GCC know it is intentionally unused.
This commit is contained in:
committed by
Gedare Bloom
parent
a8d0d9dc53
commit
32cf9ea0c6
@@ -319,6 +319,8 @@ typedef struct {
|
||||
|
||||
static inline bool _CPU_ISR_Is_enabled( uint32_t level )
|
||||
{
|
||||
(void) level;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user