get rid of warning: unused parameter 'crash_code'

This commit is contained in:
Lotte Steenbrink 2015-06-01 12:40:38 -07:00
parent bdc12b05cd
commit 6274a2b982

View File

@ -40,6 +40,8 @@ static int crashed = 0;
/* WARNING: this function NEVER returns! */
NORETURN void core_panic(int crash_code, const char *message)
{
(void) crash_code;
if (crashed == 0) {
/* print panic message to console (if possible) */
crashed = 1;