From 035ee257c8fd20652c5de2581ef46958e563a5e0 Mon Sep 17 00:00:00 2001
From: Dan Fandrich <dan@coneharvesters.com>
Date: Thu, 2 Aug 2007 19:23:35 +0000
Subject: [PATCH] Fixed a compiler warning.

---
 lib/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
GitLab