From: hniksic Date: Thu, 20 Nov 2003 00:42:21 +0000 (-0800) Subject: [svn] It's not necessary to initialize RES. X-Git-Tag: v1.13~1374 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=51b0fdbace6df478be3b18d8f1df789d15f13e44 [svn] It's not necessary to initialize RES. --- diff --git a/src/connect.c b/src/connect.c index 35e4cfdc..b8e729b4 100644 --- a/src/connect.c +++ b/src/connect.c @@ -722,7 +722,7 @@ sock_read (int fd, char *buf, int bufsize) static int sock_write (int fd, char *buf, int bufsize) { - int res = 0; + int res; do res = write (fd, buf, bufsize); while (res == -1 && errno == EINTR);