aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-02 16:23:42 +0000
committerYang Tse <yangsita@gmail.com>2010-02-02 16:23:42 +0000
commite569ff959fb5be62e47eec38fec7d97014bf785f (patch)
treefc41bb9c97bb6e047b97607f3b5e6e887f64edfc
parent839b61c32a23a6204e4283c7c9eda7dc920d89d0 (diff)
Fix compiler warning: local variable may be used without having been initialized.
-rw-r--r--lib/hostthre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostthre.c b/lib/hostthre.c
index 9772351c1..7526d6db8 100644
--- a/lib/hostthre.c
+++ b/lib/hostthre.c
@@ -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);