bar: remove unused variable

This commit is contained in:
Daniel Eklöf 2019-01-01 20:29:48 +01:00
parent bdd760a40b
commit ba1c52d291

3
bar.c
View file

@ -592,8 +592,7 @@ run(struct bar_run_context *run_ctx)
{.fd = fd, .events = POLLIN}
};
int ret = poll(fds, sizeof(fds) / sizeof(fds[0]), -1);
assert(ret == 1);
poll(fds, sizeof(fds) / sizeof(fds[0]), -1);
if (fds[0].revents && POLLIN)
break;