core: avoid using uninitialized ptrs

This commit is contained in:
Vaxry 2024-01-18 15:50:16 +01:00
parent 6a5de92769
commit 4fc83e6871

View file

@ -61,8 +61,8 @@ class CPortalManager {
void* linuxDmabuf = nullptr; void* linuxDmabuf = nullptr;
void* linuxDmabufFeedback = nullptr; void* linuxDmabufFeedback = nullptr;
wl_shm* shm = nullptr; wl_shm* shm = nullptr;
gbm_bo* gbm; gbm_bo* gbm = nullptr;
gbm_device* gbmDevice; gbm_device* gbmDevice = nullptr;
struct { struct {
void* formatTable = nullptr; void* formatTable = nullptr;
size_t formatTableSize = 0; size_t formatTableSize = 0;