]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Fix compiler warning: local variable may be used without having been initialized.
authorYang Tse <yangsita@gmail.com>
Tue, 2 Feb 2010 16:23:42 +0000 (16:23 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 2 Feb 2010 16:23:42 +0000 (16:23 +0000)
lib/hostthre.c

index 9772351c1454a8eb8ef21a6621b03ec667dc063e..7526d6db85f86abd21044e736ffda54485eb4803 100644 (file)
@@ -356,7 +356,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,
 {
   struct thread_data   *td = (struct thread_data*) conn->async.os_specific;
   struct SessionHandle *data = conn->data;
-  CURLcode rc;
+  CURLcode rc = CURLE_OK;
 
   DEBUGASSERT(conn && td);