fix: to always abort we need to assert(false)

next
Michael Stapelberg 2010-05-31 23:08:16 +02:00
parent 143622d2d7
commit b14fa457e7
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static con_state *state_for_frame(xcb_window_t window) {
/* TODO: better error handling? */
ELOG("No state found\n");
assert(true);
assert(false);
return NULL;
}