aboutsummaryrefslogtreecommitdiff
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 21b869efa..226e7be3b 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -249,7 +249,7 @@ static CURLcode Curl_setstropt(char **charp, char * s)
CURLcode Curl_dupset(struct SessionHandle * dst, struct SessionHandle * src)
{
- CURLcode r;
+ CURLcode r = CURLE_OK;
enum dupstring i;
/* Copy src->set into dst->set first, then deal with the strings