diff options
author | Attila Szűcs <szucs.attila3@nisz.hu> | 2020-10-08 16:05:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-10-09 10:52:02 +0200 |
commit | b69ea390ff475f58b8f0da3abf0c158021aba4d2 (patch) | |
tree | cc6bc869cd4cca87c20b8ee28246afb6cfc38030 /sc | |
parent | 7b2f0094f86266c64972d3e505a28b2d4e5caef6 (diff) |
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@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |