]> git.sur5r.net Git - i3/i3/commitdiff
fix: to always abort we need to assert(false)
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 31 May 2010 21:08:16 +0000 (23:08 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 31 May 2010 21:08:16 +0000 (23:08 +0200)
src/x.c

diff --git a/src/x.c b/src/x.c
index 5e0ce71c63165bad23343b060f3fde8243b77585..f0a34d3bf466c3aba5aa803562207f23f8a57c23 100644 (file)
--- 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;
 }