From: Gisle Vanem Date: Sat, 10 Jun 2006 17:35:28 +0000 (+0000) Subject: Fix "'x' might be used uninitialized in this function" warnings. X-Git-Tag: curl-7_15_4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc5174a89a6092d92903708cf75fdb0b91f4b740;p=thirdparty%2Fcurl.git Fix "'x' might be used uninitialized in this function" warnings. --- diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c index dc82e2d8f2..7de0bc1e9a 100644 --- a/tests/libtest/lib505.c +++ b/tests/libtest/lib505.c @@ -38,7 +38,7 @@ int test(char *URL) { CURL *curl; - CURLcode res; + CURLcode res = CURLE_OK; FILE *hd_src ; int hd ; struct_stat file_info; diff --git a/tests/libtest/lib507.c b/tests/libtest/lib507.c index b16c23368a..4e776ec4ac 100644 --- a/tests/libtest/lib507.c +++ b/tests/libtest/lib507.c @@ -5,7 +5,7 @@ int test(char *URL) CURL* curls; CURLM* multi; int still_running; - int i; + int i = -1; CURLMsg *msg; multi = curl_multi_init();