]> sjero.net Git - wget/commitdiff
[svn] It's not necessary to initialize RES.
authorhniksic <devnull@localhost>
Thu, 20 Nov 2003 00:42:21 +0000 (16:42 -0800)
committerhniksic <devnull@localhost>
Thu, 20 Nov 2003 00:42:21 +0000 (16:42 -0800)
src/connect.c

index 35e4cfdc097e7f9abb18e48a8a4fc8a55d72934e..b8e729b4b58a8d9a13a9bb735fa4c07e65380e64 100644 (file)
@@ -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);