diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-06-25 22:09:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-06-25 22:09:20 +0000 |
commit | eb8ab96980ac0104b95f2fe58319394aa641d00e (patch) | |
tree | 5a6eb4040a702ecdd773a7a05b87ff653b7c218b | |
parent | e225ce0fd71458cf8f03d0d122c6b3987162709f (diff) | |
download | rtmux-eb8ab96980ac0104b95f2fe58319394aa641d00e.tar.gz rtmux-eb8ab96980ac0104b95f2fe58319394aa641d00e.tar.bz2 rtmux-eb8ab96980ac0104b95f2fe58319394aa641d00e.zip |
Remove some dead assignments, found by sthen with clang.
-rw-r--r-- | client.c | 1 | ||||
-rw-r--r-- | server.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -142,7 +142,6 @@ client_main(struct client_ctx *cctx) logfile("client"); error = NULL; - xtimeout = INFTIM; while (!sigterm) { if (sigchld) { waitpid(WAIT_ANY, NULL, WNOHANG); @@ -288,7 +288,7 @@ server_main(int srv_fd) xtimeout = POLL_TIMEOUT; /* Do the poll. */ - if ((nfds = poll(pfds, nfds, xtimeout)) == -1) { + if (poll(pfds, nfds, xtimeout) == -1) { if (errno == EAGAIN || errno == EINTR) continue; fatal("poll failed"); |