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

dev
Kristian Høgsberg 11 years ago
parent 8eeb30b9d1
commit 87d38418a1
  1. 2
      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

Loading…
Cancel
Save