From ed2d0979c7c6b9f4992e0fe6d9edd5f24f09e965 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 7 Sep 2021 00:24:24 +0200 Subject: [PATCH] platforms/drm: fix warning --- src/plugins/platforms/drm/egl_gbm_backend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/drm/egl_gbm_backend.cpp b/src/plugins/platforms/drm/egl_gbm_backend.cpp index 8be45d4f76..d13723af8f 100644 --- a/src/plugins/platforms/drm/egl_gbm_backend.cpp +++ b/src/plugins/platforms/drm/egl_gbm_backend.cpp @@ -394,7 +394,7 @@ bool EglGbmBackend::initBufferConfigs() qCDebug(KWIN_DRM) << "EGL buffer configs count:" << count; - uint32_t fallbackFormat; + uint32_t fallbackFormat = 0; EGLConfig fallbackConfig = nullptr; // Loop through all configs, choosing the first one that has suitable format.