summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandbuffer_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandbuffer_p.h')
-rw-r--r--src/client/qwaylandbuffer_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/qwaylandbuffer_p.h b/src/client/qwaylandbuffer_p.h
index 9e8cba2e4..156ea9530 100644
--- a/src/client/qwaylandbuffer_p.h
+++ b/src/client/qwaylandbuffer_p.h
@@ -77,10 +77,10 @@ public:
bool busy() const { return mBusy; }
protected:
- struct wl_buffer *mBuffer;
+ struct wl_buffer *mBuffer = nullptr;
private:
- bool mBusy;
+ bool mBusy = false;
static void release(void *data, wl_buffer *);
static const wl_buffer_listener listener;