Fix "'x' might be used uninitialized in this function" warnings.

This commit is contained in:
Gisle Vanem 2006-06-10 17:35:28 +00:00
parent 31552100c5
commit cc5174a89a
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
int test(char *URL) int test(char *URL)
{ {
CURL *curl; CURL *curl;
CURLcode res; CURLcode res = CURLE_OK;
FILE *hd_src ; FILE *hd_src ;
int hd ; int hd ;
struct_stat file_info; struct_stat file_info;

View File

@ -5,7 +5,7 @@ int test(char *URL)
CURL* curls; CURL* curls;
CURLM* multi; CURLM* multi;
int still_running; int still_running;
int i; int i = -1;
CURLMsg *msg; CURLMsg *msg;
multi = curl_multi_init(); multi = curl_multi_init();