summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 702ac6f7d..9c6712c0e 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2357,7 +2357,7 @@ static CURLcode parse_proxy_auth(struct Curl_easy *data,
{
char *proxyuser = data->set.str[STRING_PROXYUSERNAME];
char *proxypasswd = data->set.str[STRING_PROXYPASSWORD];
- CURLcode result;
+ CURLcode result = CURLE_OK;
if(proxyuser)
result = Curl_urldecode(data, proxyuser, 0, &conn->http_proxy.user, NULL,