sc/source/core/data/table5.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 76ef9ecdb98252978dc10d11e98eb9a5cfad8acc Author: Laurent Godard <lgodard.li...@laposte.net> Date: Wed Sep 3 09:43:37 2014 +0200 -Wmaybe-uninitialized in ScTable::CopyColFiltered apply same initialization as in ScTable::CopyRowFiltered Change-Id: I9e8de6eaae3b3ad9453e5c06a88cfa93766becd9 Reviewed-on: https://gerrit.libreoffice.org/11263 Reviewed-by: Kohei Yoshida <libreoff...@kohei.us> Tested-by: Kohei Yoshida <libreoff...@kohei.us> diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx index 11c21c4..c02c01e 100644 --- a/sc/source/core/data/table5.cxx +++ b/sc/source/core/data/table5.cxx @@ -837,7 +837,7 @@ void ScTable::CopyColFiltered(ScTable& rTable, SCCOL nStartCol, SCCOL nEndCol) SCCOL nCol = nStartCol; while (nCol <= nEndCol) { - SCCOL nLastCol; + SCCOL nLastCol = -1; bool bFiltered = rTable.ColFiltered(nCol, NULL, &nLastCol); if (nLastCol > nEndCol) nLastCol = nEndCol; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits