diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-05 23:10:58 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-06 13:11:27 -0500 |
commit | 1c48041e731676d2d5b6fdb6176119cd58860a59 (patch) | |
tree | f255f13a9bfcabfe855663beebecfc9de114e5d2 /starmath | |
parent | 0b5798ee59b8152b0a917437144e8c078e5feb0a (diff) |
coverity#708237: Unitialized scalar field
Change-Id: I2536a7a2310aaa95fba7891472f0afe58713014c
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/parse.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index bb4598d4c377..4703a973a968 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2366,7 +2366,12 @@ void SmParser::Error(SmParseError eError) SmParser::SmParser() - : m_aDotLoc( LanguageTag::convertToLocale( LANGUAGE_ENGLISH_US ) ) + : m_nCurError( 0 ) + , m_nBufferIndex( 0 ) + , m_nTokenIndex( 0 ) + , m_Row( 0 ) + , m_nColOff( 0 ) + , m_aDotLoc( LanguageTag::convertToLocale( LANGUAGE_ENGLISH_US ) ) { bImportSymNames = m_bExportSymNames = false; m_nLang = Application::GetSettings().GetUILanguageTag().getLanguageType(); |