From: Michael Stapelberg Date: Mon, 31 May 2010 21:08:16 +0000 (+0200) Subject: fix: to always abort we need to assert(false) X-Git-Tag: tree-pr1~207 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b14fa457e7196cee7185a1ebe85a0955928fdcf5;p=i3%2Fi3 fix: to always abort we need to assert(false) --- diff --git a/src/x.c b/src/x.c index 5e0ce71c..f0a34d3b 100644 --- a/src/x.c +++ b/src/x.c @@ -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; }