compositor-x11: Use assert(0) instead of return NULL for non-reachable code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user