From 2b784020643fd8f9025639fe03445a99d0333c72 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 14 Apr 2026 16:41:22 +0200 Subject: [PATCH] =?UTF-8?q?fixup=20error:=20=E2=80=98result=E2=80=99=20may?= =?UTF-8?q?=20be=20used=20uninitialized?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/libtest/lib2504.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/lib2504.c b/tests/libtest/lib2504.c index 3fc6b261e1..72b965d6e6 100644 --- a/tests/libtest/lib2504.c +++ b/tests/libtest/lib2504.c @@ -51,7 +51,7 @@ static void dump_cookies2504(CURL *h, const char *tag) static CURLcode test_lib2504(const char *URL) { CURL *curl; - CURLcode result; + CURLcode result = CURLE_OUT_OF_MEMORY; struct curl_slist *hdrs = NULL; if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {