lib: silence gcc-16 compiler warnings `-Wmaybe-uninitialized`
No binary (build failed)
—
(log yok)
| @@ -815,7 +815,7 @@ static CURLcode easy_perform(struct Curl_easy *data, bool events) | |
| */ | |
| CURLcode curl_easy_perform(CURL *curl) | |
| { | |
| - | struct Curl_eapi_guard guard; |
| + | struct Curl_eapi_guard guard = { 0 }; |
| CURLcode result; | |
| if(CURL_EAPI_ENTER(&guard, curl, easy_perform, &result)) { | |
| @@ -200,7 +200,7 @@ static bool http_header_is_empty(const char *header) | |
| */ | |
| static CURLcode copy_custom_value(const char *header, char **valp) | |
| { | |
| - | struct Curl_str out; |
| + | struct Curl_str out = { 0 }; |
| /* find the end of the header name */ | |
| if(header_has_value(&header, &out)) { | |