get rid of warning: unused parameter 'crash_code'
This commit is contained in:
parent
bdc12b05cd
commit
6274a2b982
@ -40,6 +40,8 @@ static int crashed = 0;
|
|||||||
/* WARNING: this function NEVER returns! */
|
/* WARNING: this function NEVER returns! */
|
||||||
NORETURN void core_panic(int crash_code, const char *message)
|
NORETURN void core_panic(int crash_code, const char *message)
|
||||||
{
|
{
|
||||||
|
(void) crash_code;
|
||||||
|
|
||||||
if (crashed == 0) {
|
if (crashed == 0) {
|
||||||
/* print panic message to console (if possible) */
|
/* print panic message to console (if possible) */
|
||||||
crashed = 1;
|
crashed = 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user