]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
init the dns pointer to NULL for clarity
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Mar 2004 08:14:37 +0000 (08:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 30 Mar 2004 08:14:37 +0000 (08:14 +0000)
lib/multi.c

index 0da68317a8fcd9f11913defb3ac47046654e0bfa..18bfba2bde00565120d875560ff18d037efa2808 100644 (file)
@@ -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);