From ba1c52d2916fd438ac335b6173c6156ae8dff80c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 1 Jan 2019 20:29:48 +0100 Subject: [PATCH] bar: remove unused variable --- bar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bar.c b/bar.c index a1a067c..cd8106e 100644 --- a/bar.c +++ b/bar.c @@ -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;