sc/source/core/data/table4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b69ea390ff475f58b8f0da3abf0c158021aba4d2 Author: Attila Szűcs <szucs.atti...@nisz.hu> AuthorDate: Thu Oct 8 16:05:29 2020 +0200 Commit: Stephan Bergmann <sberg...@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 <sberg...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits