From eb8ab96980ac0104b95f2fe58319394aa641d00e Mon Sep 17 00:00:00 2001
From: Nicholas Marriott <nicm@openbsd.org>
Date: Thu, 25 Jun 2009 22:09:20 +0000
Subject: [PATCH] Remove some dead assignments, found by sthen with clang.

---
 client.c | 1 -
 server.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/client.c b/client.c
index 226f22fe..a017e7a7 100644
--- a/client.c
+++ b/client.c
@@ -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);
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");