aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-03 23:51:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-03 23:51:19 +0200
commita60825fa96f5e38bf8b591c696c85182c4804790 (patch)
tree5aede3d68e53ae349f59ecd0bc706817cf6e9214
parent3aa899929df4902082b5bcac7be5ecc9b619c70f (diff)
parse_proxy: remove dead code.
Coverity CID 982331.
-rw-r--r--lib/url.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/url.c b/lib/url.c
index 0ee6fb042..da67edf78 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -4434,10 +4434,7 @@ static CURLcode parse_proxy(struct SessionHandle *data,
conn->bits.proxy_user_passwd = TRUE; /* enable it */
atsign++; /* the right side of the @-letter */
- if(atsign)
- proxyptr = atsign; /* now use this instead */
- else
- res = CURLE_OUT_OF_MEMORY;
+ proxyptr = atsign; /* now use this instead */
}
}