compositor-x11: Use assert(0) instead of return NULL for non-reachable code
This commit is contained in:
parent
8eeb30b9d1
commit
87d38418a1
@ -934,7 +934,7 @@ x11_compositor_find_output(struct x11_compositor *c, xcb_window_t window)
|
|||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
assert(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_XCB_XKB
|
#ifdef HAVE_XCB_XKB
|
||||||
|
Loading…
Reference in New Issue
Block a user