arm: Fix set by but not used warning

This commit is contained in:
Sebastian Huber
2013-12-16 14:45:26 +01:00
parent 14e1c677fd
commit f859d20ccf

View File

@@ -422,7 +422,8 @@ void _CPU_Context_Initialize(
uint32_t _level; \
uint32_t _error = _err; \
_CPU_ISR_Disable( _level ); \
__asm__ volatile ("mov r0, %0\n" \
(void) _level; \
__asm__ volatile ("mov r0, %0\n" \
: "=r" (_error) \
: "0" (_error) \
: "r0" ); \