]> git.sur5r.net Git - i3/i3/blobdiff - src/x.c
fix: to always abort we need to assert(false)
[i3/i3] / 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;
 }