From 3b3dd31bd4e64d7630040ababe7a3d51c6ce1f40 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 8 Oct 2004 11:42:38 -0400 Subject: [PATCH] COMP: Remove warning on optimized build --- Source/CTest/Curl/hostip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/CTest/Curl/hostip.c b/Source/CTest/Curl/hostip.c index f40743573..118bdac43 100644 --- a/Source/CTest/Curl/hostip.c +++ b/Source/CTest/Curl/hostip.c @@ -379,7 +379,7 @@ int Curl_resolv(struct connectdata *conn, CURLcode result; /* default to failure */ - int rc = CURLRESOLV_ERROR; + int rc; *entry = NULL; #ifdef HAVE_SIGSETJMP @@ -391,6 +391,7 @@ int Curl_resolv(struct connectdata *conn, return CURLRESOLV_ERROR; } #endif + rc = CURLRESOLV_ERROR; /* Create an entry id, based upon the hostname and port */ entry_id = create_hostcache_id(hostname, port);