1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

Merge pull request #3141 from Lotterleben/panic_warn

core: get rid of warning: unused parameter 'crash_code'
This commit is contained in:
Lotte Steenbrink 2015-06-11 16:44:32 +02:00
commit 738c700daf

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;