[warnings] initialize all va_list

This commit is contained in:
Armin Novak
2026-02-25 05:50:15 +01:00
parent b7892a7cc1
commit 3fcc287b16
28 changed files with 59 additions and 55 deletions

View File

@@ -54,7 +54,7 @@ static const char* event_names[] = {
static bool uwac_default_error_handler(UwacDisplay* display, UwacReturnCode code, const char* msg,
...)
{
va_list args;
va_list args = { 0 };
va_start(args, msg);
(void)vfprintf(stderr, "%s", args);
va_end(args);