projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad8b29
)
Evil: remove unsused variable
author
Vincent Torri
<vincent.torri@gmail.com>
Mon, 31 Oct 2011 23:54:25 +0000
(23:54 +0000)
committer
Vincent Torri
<vincent.torri@gmail.com>
Mon, 31 Oct 2011 23:54:25 +0000
(23:54 +0000)
SVN revision: 64591
legacy/evil/src/lib/evil_unistd.c
patch
|
blob
|
history
diff --git
a/legacy/evil/src/lib/evil_unistd.c
b/legacy/evil/src/lib/evil_unistd.c
index
9646757
..
0d78374
100644
(file)
--- 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;