diff --git a/lib/url.c b/lib/url.c index 21b869efaa..226e7be3b2 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