mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-25 23:45:58 +01:00
core: avoid using uninitialized ptrs
This commit is contained in:
parent
6a5de92769
commit
4fc83e6871
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue