From 6950aeafccbdb493ebc862804a05647d97011387 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 30 Mar 2004 08:14:37 +0000 Subject: init the dns pointer to NULL for clarity --- lib/multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/multi.c b/lib/multi.c index 0da68317a..18bfba2bd 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); -- cgit v1.2.3