platforms/drm: fix warning

This commit is contained in:
Xaver Hugl 2021-09-07 00:24:24 +02:00
parent 237ef3d47f
commit ed2d0979c7

View file

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