compositor-x11: Use assert(0) instead of return NULL for non-reachable code

This commit is contained in:
Kristian Høgsberg 2013-07-25 16:42:30 -07:00
parent 8eeb30b9d1
commit 87d38418a1

View File

@ -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