diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-29 17:08:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-29 17:17:54 +0100 |
commit | 5d39c9160669a206356b09b40c6c2c2442a9f2ac (patch) | |
tree | 1afbf518272ff7bd4064e2dad0e0e248f140e796 | |
parent | d74722faf277e293b102e63a0acf151fa4fe1536 (diff) |
coverity#1210163 Uninitialized scalar variable
Change-Id: I0ee0fd95b88d27d2a2d66fa82f489a78d2893b84
-rw-r--r-- | sc/source/filter/qpro/qproform.cxx | 3 |
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}; |