Skip to content

Commit

Permalink
parse_proxy: remove dead code.
Browse files Browse the repository at this point in the history
Coverity CID 982331.
  • Loading branch information
bagder committed Oct 3, 2014
1 parent 3aa8999 commit a60825f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/url.c
Expand Up @@ -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 */
}
}

Expand Down

0 comments on commit a60825f

Please sign in to comment.