summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-29 17:08:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-29 17:17:54 +0100
commit5d39c9160669a206356b09b40c6c2c2442a9f2ac (patch)
tree1afbf518272ff7bd4064e2dad0e0e248f140e796
parentd74722faf277e293b102e63a0acf151fa4fe1536 (diff)
coverity#1210163 Uninitialized scalar variable
Change-Id: I0ee0fd95b88d27d2a2d66fa82f489a78d2893b84
-rw-r--r--sc/source/filter/qpro/qproform.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx
index b66665095960..7a3ebbd8ec6f 100644
--- a/sc/source/filter/qpro/qproform.cxx
+++ b/sc/source/filter/qpro/qproform.cxx
@@ -176,7 +176,8 @@ do { \
ConvErr QProToSc::Convert( const ScTokenArray*& pArray, sal_uInt16 /*nLen*/, const FORMULA_TYPE /*eFT*/ )
{
- sal_uInt8 nFmla[ nBufSize ], i, nArg, nArgArray[ nBufSize ];
+ sal_uInt8 nFmla[ nBufSize ], i, nArg;
+ sal_uInt8 nArgArray[ nBufSize ] = {0};
sal_Int8 nCol, nPage;
sal_uInt16 nInt, nIntCount = 0, nStringCount = 0, nFloatCount = 0, nDLLCount = 0, nArgCount = 0;
sal_uInt16 nIntArray[ nBufSize ] = {0};