output: Abort on invalid power state
parent
5bb8cbfa92
commit
03d7f1dc6d
|
@ -270,6 +270,8 @@ const char* output_power_state_name(enum output_power_state state)
|
||||||
case OUTPUT_POWER_UNKNOWN:
|
case OUTPUT_POWER_UNKNOWN:
|
||||||
return "??";
|
return "??";
|
||||||
}
|
}
|
||||||
|
abort();
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void output_power_mode(void *data,
|
static void output_power_mode(void *data,
|
||||||
|
|
Loading…
Reference in New Issue