backend/drm: avoid "maybe uninitialized" warning

Fixes: 95ac3e9924
master
Kirill Primak 7 months ago
parent 6d07193bda
commit bd7a47e139

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

Loading…
Cancel
Save