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;