From bd7a47e1390be991a96b373ea9c3f3f4a3ca5c16 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Wed, 5 Jun 2024 00:54:38 +0300 Subject: [PATCH] backend/drm: avoid "maybe uninitialized" warning Fixes: 95ac3e99242b4e7f59f00dd073ede405ff8e9e26 --- backend/drm/libliftoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/drm/libliftoff.c b/backend/drm/libliftoff.c index d95e94a93..85054476c 100644 --- a/backend/drm/libliftoff.c +++ b/backend/drm/libliftoff.c @@ -12,7 +12,7 @@ #include "config.h" static void log_handler(enum liftoff_log_priority priority, const char *fmt, va_list args) { - enum wlr_log_importance importance; + enum wlr_log_importance importance = WLR_SILENT; switch (priority) { case LIFTOFF_SILENT: importance = WLR_SILENT;