forked from Imagelibrary/rtems
powerpc/tqm8xx/startup/bspstart.c: Fix set but not used warning
This commit is contained in:
@@ -61,6 +61,7 @@ void BSP_panic( char *s)
|
|||||||
rtems_interrupt_level level;
|
rtems_interrupt_level level;
|
||||||
|
|
||||||
rtems_interrupt_disable( level);
|
rtems_interrupt_disable( level);
|
||||||
|
(void) level; /* avoid set but not used warning */
|
||||||
|
|
||||||
printk( "%s PANIC %s\n", _RTEMS_version, s);
|
printk( "%s PANIC %s\n", _RTEMS_version, s);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user