projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a6012
)
Dispose of a variable whose only use was being set to zero.
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 20 Jan 2005 21:45:42 +0000
(21:45 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 20 Jan 2005 21:45:42 +0000
(21:45 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@5156
cda61777
-01e9-0310-a592-
d414129be87e
unix/uxnet.c
patch
|
blob
|
blame
|
history
diff --git
a/unix/uxnet.c
b/unix/uxnet.c
index
0312094
..
b7c20cf
100644
(file)
--- a/
unix/uxnet.c
+++ b/
unix/uxnet.c
@@
-949,7
+949,6
@@
static int sk_tcp_write_oob(Socket sock, const char *buf, int len)
static int net_select_result(int fd, int event)
{
int ret;
- int err;
char buf[20480]; /* nice big buffer for plenty of speed */
Actual_Socket s;
u_long atmark;
@@
-1013,7
+1012,6
@@
static int net_select_result(int fd, int event)
int t; /* socket of connection */
memset(&isa, 0, sizeof(struct sockaddr_in));
- err = 0;
t = accept(s->s,(struct sockaddr *)&isa,(socklen_t *) &addrlen);
if (t < 0) {
break;