aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-07-13 14:28:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-07-13 14:28:12 +0200
commit9ca313798760494df4136f99cf7cd935e43e9ab2 (patch)
tree776fb5b02bacd2a6d493fe047e234881e47f49b7
parent20ff8a0988d844910ff3621f75f99907aebeef4b (diff)
parse_proxy: remove dead assignment
Spotted by clang-analyzer
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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;
}