fixup error: ‘result’ may be used uninitialized

This commit is contained in:
Daniel Stenberg 2026-04-14 16:41:22 +02:00
parent 04bffc4ba3
commit 2b78402064
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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) {