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