From 68531dbd88fda13ebcf955da454334d3511dd499 Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Fri, 28 Mar 2014 12:10:14 +0000
Subject: coverity#707592 Uninitialized scalar variable

Change-Id: Iabbecfd37ca7289c08c00e3588897c118665d62e
---
 vcl/generic/print/common_gfx.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'vcl/generic')

diff --git a/vcl/generic/print/common_gfx.cxx b/vcl/generic/print/common_gfx.cxx
index 9988ea8001ee..20484ab4b1e9 100644
--- a/vcl/generic/print/common_gfx.cxx
+++ b/vcl/generic/print/common_gfx.cxx
@@ -934,7 +934,7 @@ void
 PrinterGfx::PSBinPath (const Point& rCurrent, Point& rOld,
                        pspath_t eType, sal_Int32& nColumn)
 {
-    sal_Char  pPath[48];
+    sal_Char  pPath[48] = {0};
     sal_Int32 nChar;
 
     // create the hex representation of the dx and dy path shift, store the field
-- 
cgit