From 87d38418a19509a2e5ed966880791c222fea4df1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 25 Jul 2013 16:42:30 -0700 Subject: [PATCH] compositor-x11: Use assert(0) instead of return NULL for non-reachable code --- src/compositor-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor-x11.c b/src/compositor-x11.c index 51ae35d..6baf522 100644 --- a/src/compositor-x11.c +++ b/src/compositor-x11.c @@ -934,7 +934,7 @@ x11_compositor_find_output(struct x11_compositor *c, xcb_window_t window) return output; } - return NULL; + assert(0); } #ifdef HAVE_XCB_XKB -- 2.7.4