backend/drm: avoid "maybe uninitialized" warning

Fixes: 95ac3e9924
This commit is contained in:
Kirill Primak 2024-06-05 00:54:38 +03:00
parent 6d07193bda
commit bd7a47e139

View File

@ -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;