From 2b71797cfa6d7a5f8c179e4534ca66e0a9e33e4b Mon Sep 17 00:00:00 2001 From: diamante0018 Date: Fri, 7 Aug 2026 11:32:22 +0200 Subject: [PATCH] chore: make sure the index always starts at 0 --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.c b/src/utils.c index 84685c3..516d516 100644 --- a/src/utils.c +++ b/src/utils.c @@ -11,7 +11,7 @@ struct va_info_s { int index; }; -static __thread struct va_info_s va_provider; +static __thread struct va_info_s va_provider = {0}; char* va(const char* fmt, ...) { va_list ap;