From e569ff959fb5be62e47eec38fec7d97014bf785f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 2 Feb 2010 16:23:42 +0000 Subject: [PATCH] Fix compiler warning: local variable may be used without having been initialized. --- lib/hostthre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);