aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-06-10 17:35:28 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-06-10 17:35:28 +0000
commitcc5174a89a6092d92903708cf75fdb0b91f4b740 (patch)
treed3f0985b0a69ab7c0a2d98a4da22ec66360a96cd /tests/libtest
parent31552100c59f3f834d284b0131b5a4dba3f406ed (diff)
Fix "'x' might be used uninitialized in this function" warnings.
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/lib505.c2
-rw-r--r--tests/libtest/lib507.c2
2 files changed, 2 insertions, 2 deletions
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();