From b14fa457e7196cee7185a1ebe85a0955928fdcf5 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 31 May 2010 23:08:16 +0200 Subject: [PATCH] fix: to always abort we need to assert(false) --- src/x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5