aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorno_author <no_author@example.org>2009-06-26 15:32:00 +0000
committerno_author <no_author@example.org>2009-06-26 15:32:00 +0000
commit3fcbe1e27bc8656742671733f987904818ca23d2 (patch)
treec8d9a1a927e7ec3db6e84ceb4f08c983eb263040 /server.c
parent81b4aca9340cc9738ae4e0640f7ec7766bdacf5e (diff)
downloadrtmux-3fcbe1e27bc8656742671733f987904818ca23d2.tar.gz
rtmux-3fcbe1e27bc8656742671733f987904818ca23d2.tar.bz2
rtmux-3fcbe1e27bc8656742671733f987904818ca23d2.zip
Remove some dead assignments, found by sthen with clang.
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.c b/server.c
index a2d00a97..abeff52b 100644
--- a/server.c
+++ b/server.c
@@ -1,4 +1,4 @@
-/* $Id: server.c,v 1.149 2009-06-25 16:34:50 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.4 2009/06/25 22:09:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -292,7 +292,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");