[Libreoffice-commits] core.git: libreofficekit/source

Caolán McNamara caolanm at redhat.com
Fri Jan 30 12:56:30 PST 2015


 libreofficekit/source/gtk/lokdocview.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit cc5af14e67f75a2d42bce2b6a2d996cf8f7aee87
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 30 20:56:07 2015 +0000

    coverity#1267697 Uninitialized scalar variable
    
    Change-Id: I0703df58dd3d798ff0928f317b8d61e13ec2f0ce

diff --git a/libreofficekit/source/gtk/lokdocview.c b/libreofficekit/source/gtk/lokdocview.c
index 372fa9d..8f80d20 100644
--- a/libreofficekit/source/gtk/lokdocview.c
+++ b/libreofficekit/source/gtk/lokdocview.c
@@ -262,6 +262,7 @@ static GdkRectangle lcl_payloadToRectangle(const char* pPayload)
     GdkRectangle aRet;
     gchar** ppCoordinates;
 
+    aRet.width = aRet.height = aRet.x = aRet.y = 0;
     ppCoordinates = g_strsplit(pPayload, ", ", 4);
     if (!*ppCoordinates)
         return aRet;


More information about the Libreoffice-commits mailing list