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:
commit
738c700daf
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user