]> sjero.net Git - wget/blobdiff - src/connect.c
[svn] It's not necessary to initialize RES.
[wget] / 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);