From 7eb2854dcf376ec4d81c09bdf2dc40b2d1892872 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 31 Oct 2011 23:54:25 +0000 Subject: [PATCH] Evil: remove unsused variable SVN revision: 64591 --- legacy/evil/src/lib/evil_unistd.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/legacy/evil/src/lib/evil_unistd.c b/legacy/evil/src/lib/evil_unistd.c index 964675769d..0d7837442a 100644 --- a/legacy/evil/src/lib/evil_unistd.c +++ b/legacy/evil/src/lib/evil_unistd.c @@ -318,7 +318,6 @@ int evil_pipe(int *fds) { struct sockaddr_in saddr; - struct timeval tv; SOCKET temp; SOCKET socket1 = INVALID_SOCKET; SOCKET socket2 = INVALID_SOCKET; @@ -367,9 +366,6 @@ evil_pipe(int *fds) FD_ZERO (&read_set); FD_SET (temp, &read_set); - tv.tv_sec = 0; - tv.tv_usec = 0; - if (select (0, &read_set, NULL, NULL, NULL) == SOCKET_ERROR) goto out1; @@ -383,9 +379,6 @@ evil_pipe(int *fds) FD_ZERO (&write_set); FD_SET (socket1, &write_set); - tv.tv_sec = 0; - tv.tv_usec = 0; - if (select (0, NULL, &write_set, NULL, NULL) == SOCKET_ERROR) goto out2;