summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/evil/src/lib/evil_unistd.c7
1 files changed, 0 insertions, 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
318evil_pipe(int *fds) 318evil_pipe(int *fds)
319{ 319{
320 struct sockaddr_in saddr; 320 struct sockaddr_in saddr;
321 struct timeval tv;
322 SOCKET temp; 321 SOCKET temp;
323 SOCKET socket1 = INVALID_SOCKET; 322 SOCKET socket1 = INVALID_SOCKET;
324 SOCKET socket2 = INVALID_SOCKET; 323 SOCKET socket2 = INVALID_SOCKET;
@@ -367,9 +366,6 @@ evil_pipe(int *fds)
367 FD_ZERO (&read_set); 366 FD_ZERO (&read_set);
368 FD_SET (temp, &read_set); 367 FD_SET (temp, &read_set);
369 368
370 tv.tv_sec = 0;
371 tv.tv_usec = 0;
372
373 if (select (0, &read_set, NULL, NULL, NULL) == SOCKET_ERROR) 369 if (select (0, &read_set, NULL, NULL, NULL) == SOCKET_ERROR)
374 goto out1; 370 goto out1;
375 371
@@ -383,9 +379,6 @@ evil_pipe(int *fds)
383 FD_ZERO (&write_set); 379 FD_ZERO (&write_set);
384 FD_SET (socket1, &write_set); 380 FD_SET (socket1, &write_set);
385 381
386 tv.tv_sec = 0;
387 tv.tv_usec = 0;
388
389 if (select (0, NULL, &write_set, NULL, NULL) == SOCKET_ERROR) 382 if (select (0, NULL, &write_set, NULL, NULL) == SOCKET_ERROR)
390 goto out2; 383 goto out2;
391 384