← Commit list

a1bca29bdd

Viktor Szakats
Viktor Szakats
2026-08-24
SUCCESS Duration: 426s

Subject

lib: silence gcc-16 compiler warnings `-Wmaybe-uninitialized`

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/easy.c+1 -1
@@ -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)) {
lib/http.c+1 -1
@@ -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)) {