mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 12:25:38 +02:00
bar: remove unused variable
This commit is contained in:
parent
bdd760a40b
commit
ba1c52d291
1 changed files with 1 additions and 2 deletions
3
bar.c
3
bar.c
|
@ -592,8 +592,7 @@ run(struct bar_run_context *run_ctx)
|
||||||
{.fd = fd, .events = POLLIN}
|
{.fd = fd, .events = POLLIN}
|
||||||
};
|
};
|
||||||
|
|
||||||
int ret = poll(fds, sizeof(fds) / sizeof(fds[0]), -1);
|
poll(fds, sizeof(fds) / sizeof(fds[0]), -1);
|
||||||
assert(ret == 1);
|
|
||||||
|
|
||||||
if (fds[0].revents && POLLIN)
|
if (fds[0].revents && POLLIN)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue