From: ben Date: Thu, 20 Jan 2005 21:45:42 +0000 (+0000) Subject: Dispose of a variable whose only use was being set to zero. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/7674964da3b8972a1ec6467470bbb6e3484c19b8 Dispose of a variable whose only use was being set to zero. git-svn-id: svn://svn.tartarus.org/sgt/putty@5156 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/uxnet.c b/unix/uxnet.c index 03120948..b7c20cff 100644 --- 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;