Skip to content

Commit

Permalink
core: avoid using uninitialized ptrs
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jan 18, 2024
1 parent 6a5de92 commit 4fc83e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/PortalManager.hpp
Expand Up @@ -61,8 +61,8 @@ class CPortalManager {
void* linuxDmabuf = nullptr;
void* linuxDmabufFeedback = nullptr;
wl_shm* shm = nullptr;
gbm_bo* gbm;
gbm_device* gbmDevice;
gbm_bo* gbm = nullptr;
gbm_device* gbmDevice = nullptr;
struct {
void* formatTable = nullptr;
size_t formatTableSize = 0;
Expand Down

0 comments on commit 4fc83e6

Please sign in to comment.