mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
Fix "'x' might be used uninitialized in this function" warnings.
This commit is contained in:
parent
31552100c5
commit
cc5174a89a
@ -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;
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user