sc/source/filter/lotus/lotform.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 38b934ad1c1184ecdea9f429866237966a694531 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Aug 29 20:34:37 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Aug 30 09:30:41 2021 +0200 ofz: MemorySanitizer: use-of-uninitialized-value Change-Id: Ife47559f456e17175eccf4bb6509688b61972d7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121235 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx index 61a83e42fbe4..ef913b193de4 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -481,7 +481,7 @@ void LotusToSc::Convert( std::unique_ptr<ScTokenArray>& rpErg, sal_Int32& rRest break; case FT_Variable: { - sal_uInt16 nCol, nRow; + sal_uInt16 nCol(0), nRow(0); Read( nCol ); Read( nRow ); @@ -505,7 +505,7 @@ void LotusToSc::Convert( std::unique_ptr<ScTokenArray>& rpErg, sal_Int32& rRest break; case FT_Range: { - sal_uInt16 nColS, nRowS, nColE, nRowE; + sal_uInt16 nColS(0), nRowS(0), nColE(0), nRowE(0); Read( nColS ); Read( nRowS ); Read( nColE );