diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 20:51:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-10 21:13:04 +0100 |
commit | 90c644a8629f098dd4936d92173202fdc3f21e4a (patch) | |
tree | b651e4dcdfa74d9c14be4478e1acf66a211344e5 /formula/source | |
parent | 4d9009f3107f4a00069f3325819f6d6005911ff5 (diff) |
coverity#707866 Uninitialized pointer field
Change-Id: Ia80922b1819d41e4963689fda87750f0f507fd57
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 58a896184be1..7064e0f54f46 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -540,22 +540,24 @@ FormulaCompiler::FormulaCompiler( FormulaTokenArray& rArr ) bCompileForFAP( false ), bIgnoreErrors( false ), glSubTotal( false ) - { } FormulaCompiler::FormulaCompiler() : pArr( NULL ), + pCode( NULL ), pStack( NULL ), + eLastOp( ocPush ), nRecursion(0), nNumFmt( NUMBERFORMAT_UNDEFINED ), + pc( 0 ), meGrammar( formula::FormulaGrammar::GRAM_UNSPECIFIED ), bAutoCorrect( false ), bCorrected( false ), bCompileForFAP( false ), - bIgnoreErrors( false ) - + bIgnoreErrors( false ), + glSubTotal( false ) { } |