forked from Imagelibrary/rtems
arm/lpc176x/misc/restart.c: Fix set but not used warning
This commit is contained in:
@@ -30,5 +30,6 @@ void bsp_restart( const void const *addr )
|
||||
void (*start) ( void ) = addr;
|
||||
|
||||
rtems_interrupt_disable( level );
|
||||
( *start )();
|
||||
(void) level; /* avoid set but not used warning */
|
||||
( *start )();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user