[Libreoffice-commits] core.git: sc/source
Attila Szűcs (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 9 08:52:38 UTC 2020
sc/source/core/data/table4.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b69ea390ff475f58b8f0da3abf0c158021aba4d2
Author: Attila Szűcs <szucs.attila3 at nisz.hu>
AuthorDate: Thu Oct 8 16:05:29 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Oct 9 10:52:02 2020 +0200
Clean-up: Initialized a variable to something.
To make sure it will have a legal value, even in cases when it won't be used.
Without it, code analysing tools may idetify it as an issue.
Change-Id: Ied6e6c8ca496aa9d61eeca0c45b2c6cec40c9156
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104091
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 11570e3153a4..427169b3b4e9 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -967,7 +967,7 @@ void ScTable::FillAuto( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
// Analyse
FillCmd eFillCmd;
- FillDateCmd eDateCmd;
+ FillDateCmd eDateCmd = {};
double nInc;
sal_uInt16 nMinDigits;
ScUserListData* pListData = nullptr;
More information about the Libreoffice-commits
mailing list