From: Daniel Stenberg Date: Tue, 30 Mar 2004 08:14:37 +0000 (+0000) Subject: init the dns pointer to NULL for clarity X-Git-Tag: curl-7_11_2~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6950aeafccbdb493ebc862804a05647d97011387;p=thirdparty%2Fcurl.git init the dns pointer to NULL for clarity --- diff --git a/lib/multi.c b/lib/multi.c index 0da68317a8..18bfba2bde 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -380,7 +380,7 @@ CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles) case CURLM_STATE_WAITRESOLVE: /* awaiting an asynch name resolve to complete */ { - struct Curl_dns_entry *dns; + struct Curl_dns_entry *dns = NULL; /* check if we have the name resolved by now */ easy->result = Curl_is_resolved(easy->easy_conn, &dns);