From: Daniel Stenberg Date: Fri, 13 Jul 2012 12:28:12 +0000 (+0200) Subject: parse_proxy: remove dead assignment X-Git-Tag: curl-7_27_0~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ca313798760494df4136f99cf7cd935e43e9ab2;p=curl parse_proxy: remove dead assignment Spotted by clang-analyzer --- diff --git a/lib/url.c b/lib/url.c index 88e169c98..87b870113 100644 --- 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; }