forked from external/yambar
module/xkb: remove unused variable
This commit is contained in:
parent
c01806d6fa
commit
aa477eaa32
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ event_loop(struct module_run_context *ctx, xcb_connection_t *conn,
|
|||
};
|
||||
|
||||
/* Use poll() since xcb_wait_for_events() doesn't return on signals */
|
||||
int pret = poll(pfds, sizeof(pfds) / sizeof(pfds[0]), -1);
|
||||
poll(pfds, sizeof(pfds) / sizeof(pfds[0]), -1);
|
||||
if (pfds[0].revents & POLLIN) {
|
||||
ret = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue