diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-03 20:15:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-03 20:33:45 +0100 |
commit | 1bc0cd0ee0251d42a6cbe75e5d86de4366f59029 (patch) | |
tree | edd9e906d89c8a605b256f24a8587099a873d4a8 /libreofficekit | |
parent | b99638665a0f286b29a2cb8827f0ea80bebd4705 (diff) |
coverity#1315075 Uninitialized pointer field
Change-Id: I4e933b458ca26b2a92d4953ca6cd6220dd730cf9
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/tilebuffer.hxx | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/tilebuffer.hxx b/libreofficekit/source/gtk/tilebuffer.hxx index dabf72f9ea67..b00724367b8d 100644 --- a/libreofficekit/source/gtk/tilebuffer.hxx +++ b/libreofficekit/source/gtk/tilebuffer.hxx @@ -206,7 +206,28 @@ struct LOEvent /// Constructor to instantiate an object of type `type`. LOEvent(int type) - : m_nType(type) {} + : m_nType(type) + , m_pCommand(0) + , m_pArguments(0) + , m_pPath(0) + , m_bEdit(false) + , m_nPartMode(0) + , m_nPart(0) + , m_nKeyEvent(0) + , m_nCharCode(0) + , m_nKeyCode(0) + , m_nPaintTileX(0) + , m_nPaintTileY(0) + , m_fPaintTileZoom(0) + , m_nPostMouseEventType(0) + , m_nPostMouseEventX(0) + , m_nPostMouseEventY(0) + , m_nPostMouseEventCount(0) + , m_nSetGraphicSelectionType(0) + , m_nSetGraphicSelectionX(0) + , m_nSetGraphicSelectionY(0) + { + } }; #endif // INCLUDED_TILEBUFFER_HXX |