From: Daniel Stenberg Date: Fri, 30 Mar 2007 19:59:15 +0000 (+0000) Subject: dead code removed, found by the coverity.com scan X-Git-Tag: curl-7_16_2~88 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dcc7202d55dfa0ce57a69ba9117269e65494668;p=thirdparty%2Fcurl.git dead code removed, found by the coverity.com scan --- diff --git a/lib/socks.c b/lib/socks.c index 852245074d..1157b960ca 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -442,7 +442,7 @@ CURLcode Curl_SOCKS5(const char *proxy_name, int len; if(proxy_name && proxy_password) { userlen = strlen(proxy_name); - pwlen = proxy_password?strlen(proxy_password):0; + pwlen = strlen(proxy_password); } else { userlen = 0;