Fix "'x' might be used uninitialized in this function" warnings.
authorGisle Vanem <gvanem@broadpark.no>
Sat, 10 Jun 2006 17:35:28 +0000 (17:35 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Sat, 10 Jun 2006 17:35:28 +0000 (17:35 +0000)
tests/libtest/lib505.c
tests/libtest/lib507.c

index dc82e2d..7de0bc1 100644 (file)
@@ -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;
index b16c233..4e776ec 100644 (file)
@@ -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();