]> granicus.if.org Git - curl/commitdiff
parse_proxy: remove dead assignment
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Jul 2012 12:28:12 +0000 (14:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Jul 2012 12:28:12 +0000 (14:28 +0200)
Spotted by clang-analyzer

lib/url.c

index 88e169c98e87687fd5695d0c8eb4e85fac6cf142..87b8701135dde66d025b151d7c76766493de2f64 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -4273,7 +4273,7 @@ static CURLcode parse_proxy(struct SessionHandle *data,
         atsign++; /* the right side of the @-letter */
 
         if(atsign)
-          proxy = proxyptr = atsign; /* now use this instead */
+          proxyptr = atsign; /* now use this instead */
         else
           res = CURLE_OUT_OF_MEMORY;
       }