From cc5174a89a6092d92903708cf75fdb0b91f4b740 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Sat, 10 Jun 2006 17:35:28 +0000 Subject: Fix "'x' might be used uninitialized in this function" warnings. --- tests/libtest/lib505.c | 2 +- tests/libtest/lib507.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/libtest') diff --git a/tests/libtest/lib505.c b/tests/libtest/lib505.c index dc82e2d8f..7de0bc1e9 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 b16c23368..4e776ec4a 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(); -- cgit v1.2.3