]> sjero.net Git - wget/blobdiff - src/connect.c
[svn] Avoid unneeded initialization of local var.
[wget] / src / connect.c
index 4963512a831a2718501b2fb3781f39ac6bb2ef4f..ff7a741c2c198b6c2e348251595447bb178af474 100644 (file)
@@ -261,7 +261,7 @@ connect_to_ip (const ip_address *ip, int port, const char *print)
 {
   struct sockaddr_storage ss;
   struct sockaddr *sa = (struct sockaddr *)&ss;
-  int sock = -1;
+  int sock;
 
   /* If PRINT is non-NULL, print the "Connecting to..." line, with
      PRINT being the host name we're connecting to.  */