1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Dispose of a variable whose only use was being set to zero.

[originally from svn r5156]
This commit is contained in:
Ben Harris 2005-01-20 21:45:42 +00:00
parent eb4bb72cc6
commit 961319c14c

View File

@ -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;