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();