Blame SOURCES/0088-coverity-1315075-Uninitialized-pointer-field.patch

135360
From fba4131c0f03038ec07aec11d7fe2ffea4c14a94 Mon Sep 17 00:00:00 2001
135360
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
135360
Date: Mon, 3 Aug 2015 20:15:18 +0100
135360
Subject: [PATCH 088/398] coverity#1315075 Uninitialized pointer field
135360
135360
Change-Id: I4e933b458ca26b2a92d4953ca6cd6220dd730cf9
135360
(cherry picked from commit 1bc0cd0ee0251d42a6cbe75e5d86de4366f59029)
135360
---
135360
 libreofficekit/source/gtk/tilebuffer.hxx | 23 ++++++++++++++++++++++-
135360
 1 file changed, 22 insertions(+), 1 deletion(-)
135360
135360
diff --git a/libreofficekit/source/gtk/tilebuffer.hxx b/libreofficekit/source/gtk/tilebuffer.hxx
135360
index dabf72f9ea67..b00724367b8d 100644
135360
--- a/libreofficekit/source/gtk/tilebuffer.hxx
135360
+++ b/libreofficekit/source/gtk/tilebuffer.hxx
135360
@@ -206,7 +206,28 @@ struct LOEvent
135360
 
135360
     /// Constructor to instantiate an object of type `type`.
135360
     LOEvent(int type)
135360
-        : m_nType(type) {}
135360
+        : m_nType(type)
135360
+        , m_pCommand(0)
135360
+        , m_pArguments(0)
135360
+        , m_pPath(0)
135360
+        , m_bEdit(false)
135360
+        , m_nPartMode(0)
135360
+        , m_nPart(0)
135360
+        , m_nKeyEvent(0)
135360
+        , m_nCharCode(0)
135360
+        , m_nKeyCode(0)
135360
+        , m_nPaintTileX(0)
135360
+        , m_nPaintTileY(0)
135360
+        , m_fPaintTileZoom(0)
135360
+        , m_nPostMouseEventType(0)
135360
+        , m_nPostMouseEventX(0)
135360
+        , m_nPostMouseEventY(0)
135360
+        , m_nPostMouseEventCount(0)
135360
+        , m_nSetGraphicSelectionType(0)
135360
+        , m_nSetGraphicSelectionX(0)
135360
+        , m_nSetGraphicSelectionY(0)
135360
+    {
135360
+    }
135360
 };
135360
 
135360
 #endif // INCLUDED_TILEBUFFER_HXX
135360
-- 
135360
2.12.0
135360