From efe10513ec056d9e81f713e6c441376dcd2bbf43 Mon Sep 17 00:00:00 2001 From: Daan Leijen Date: Wed, 25 Dec 2024 14:40:32 -0800 Subject: [PATCH] fix initializer warning on clang-18 --- src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.c b/src/init.c index 4feee790..81aca206 100644 --- a/src/init.c +++ b/src/init.c @@ -97,7 +97,7 @@ const mi_page_t _mi_page_empty = { // may lead to allocation itself on some platforms) // -------------------------------------------------------- -static mi_decl_cache_align mi_subproc_t subproc_main = { }; // note: empty initializer to prevent running the constructor (in C++ compilation) +static mi_decl_cache_align mi_subproc_t subproc_main = { 0 }; // note: empty initializer to prevent running the constructor (in C++ compilation) static mi_decl_cache_align mi_tld_t tld_empty = { 0, // thread_id