From 9ca313798760494df4136f99cf7cd935e43e9ab2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 13 Jul 2012 14:28:12 +0200 Subject: parse_proxy: remove dead assignment Spotted by clang-analyzer --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3