commit 05447eb3b34ad9b29e1743779e59cc0a25f8c76f parent ee0b1831ee54a28eb7d66c8101ad2399e257cadb Author: sin <sin@2f30.org> Date: Sat, 7 Mar 2015 18:40:16 +0000 Remove useless check Diffstat:
M | waffle.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/waffle.c b/waffle.c @@ -149,7 +149,7 @@ main(int argc, char *argv[]) continue; if (i == sfd) { r = read(sfd, &si, sizeof(si)); - if (r < 0 || (size_t)r != sizeof(si)) + if ((size_t)r != sizeof(si)) continue; switch (si.ssi_signo) { case SIGTERM: