]> granicus.if.org Git - curl/commitdiff
dead code removed, found by the coverity.com scan
authorDaniel Stenberg <daniel@haxx.se>
Fri, 30 Mar 2007 19:59:15 +0000 (19:59 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Mar 2007 19:59:15 +0000 (19:59 +0000)
lib/socks.c

index 852245074d292c017db8b9df249f02835f184028..1157b960cabc9f6bda324d495bcd766aefd4ad99 100644 (file)
@@ -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;