Commit 2b932936 authored by Michael Holzheu's avatar Michael Holzheu Committed by Martin Schwidefsky

[S390] Remove BUG() statement

To avoid ugly warings for older gccs, we replace
BUG() with "return NULL", which is just as well.
Signed-off-by: default avatarMichael Holzheu <holzheu@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 46b05d26
...@@ -91,7 +91,7 @@ static char *shutdown_action_str(enum shutdown_action action) ...@@ -91,7 +91,7 @@ static char *shutdown_action_str(enum shutdown_action action)
case SHUTDOWN_STOP: case SHUTDOWN_STOP:
return SHUTDOWN_STOP_STR; return SHUTDOWN_STOP_STR;
default: default:
BUG(); return NULL;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment