aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-30 08:14:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-30 08:14:37 +0000
commit6950aeafccbdb493ebc862804a05647d97011387 (patch)
tree43d94f02f6fbca5c4178d34a8f48bff168f5c0ea /lib
parentcd160a66c96f769e821d22bb7d4f2b36dd6f4be2 (diff)
init the dns pointer to NULL for clarity
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
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);