aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-25 22:09:20 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-25 22:09:20 +0000
commiteb8ab96980ac0104b95f2fe58319394aa641d00e (patch)
tree5a6eb4040a702ecdd773a7a05b87ff653b7c218b /server.c
parente225ce0fd71458cf8f03d0d122c6b3987162709f (diff)
downloadrtmux-eb8ab96980ac0104b95f2fe58319394aa641d00e.tar.gz
rtmux-eb8ab96980ac0104b95f2fe58319394aa641d00e.tar.bz2
rtmux-eb8ab96980ac0104b95f2fe58319394aa641d00e.zip
Remove some dead assignments, found by sthen with clang.
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index b8c80fb3..c92426a4 100644
--- a/server.c
+++ b/server.c
@@ -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");