]> sjero.net Git - wget/blobdiff - src/ftp-basic.c
Silent warnings reported by clang.
[wget] / src / ftp-basic.c
index 5084aae64c3c2e1e43da6aa64d1da7b468df53e1..836f77e9c5f7dead390459c8ef9a6fdfd41aafe3 100644 (file)
@@ -756,9 +756,6 @@ ftp_epsv (int csock, ip_address *ip, int *port)
 
   DEBUGP(("respline is %s\n", respline));
 
-  /* Parse the response.  */
-  s = respline;
-
   /* Skip the useless stuff and get what's inside the parentheses */
   start = strchr (respline, '(');
   if (start == NULL)
@@ -804,7 +801,7 @@ ftp_epsv (int csock, ip_address *ip, int *port)
       return FTPINVPASV;
     }
 
-  if (*s++ != ')')
+  if (*s != ')')
     {
       xfree (respline);
       return FTPINVPASV;