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

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