diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-31 16:30:14 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-31 16:30:14 +0100 |
commit | 88052c9d3dbe22c5ce16ea03dadd00d85ee03b56 (patch) | |
tree | 32e0907ca2cc8f5b11912d6b8b24b021b8418d6a /plugingui/nativewindow_x11.h | |
parent | 33fde43491bd5ac0c357b387e51524b142fdfe75 (diff) |
Fix a couple of errors detected by coverity.
Diffstat (limited to 'plugingui/nativewindow_x11.h')
-rw-r--r-- | plugingui/nativewindow_x11.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugingui/nativewindow_x11.h b/plugingui/nativewindow_x11.h index d7b3902..134ab6f 100644 --- a/plugingui/nativewindow_x11.h +++ b/plugingui/nativewindow_x11.h @@ -56,17 +56,17 @@ private: Event* translateXMessage(XEvent& xevent, bool peek = false); XImage* createImageFromBuffer(unsigned char* buf, int width, int height); - ::Window xwindow; - GC gc; - XImage* buffer; + ::Window xwindow{0}; + GC gc{0}; + XImage* buffer{nullptr}; Window& window; - int last_click; + int last_click{0}; - Display* display; - int screen; - Atom wmDeleteMessage; + Display* display{nullptr}; + int screen{0}; + Atom wmDeleteMessage{0}; }; } // GUI:: |