summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-28 12:10:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-28 13:14:02 +0000
commit68531dbd88fda13ebcf955da454334d3511dd499 (patch)
tree0c0f006aa403769cafda20fcd79bbf9c03259914 /vcl/generic
parent67780ee7f37f05ebdec0d330361fa80e1f2e0cc8 (diff)
coverity#707592 Uninitialized scalar variable
Change-Id: Iabbecfd37ca7289c08c00e3588897c118665d62e
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/common_gfx.cxx2
1 files changed, 1 insertions, 1 deletions
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