module/xkb: remove assert: variable has been removed

This commit is contained in:
Daniel Eklöf 2019-01-01 20:34:39 +01:00
parent 9351d3b6d9
commit 7dd35f1159

View file

@ -298,8 +298,6 @@ event_loop(struct module_run_context *ctx, xcb_connection_t *conn,
break;
}
assert(pret == 1 && "unexpected poll(3) return value");
if (pfds[1].revents & POLLHUP) {
LOG_WARN("I/O error, server disconnect?");
break;