sc/source/ui/view/viewfun6.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a1a480f91e6f43df23b9ecdf47d5cd230c50ebed Author: Tor Lillqvist <t...@collabora.com> Date: Wed Aug 20 09:01:41 2014 +0300 Wa: C4701: potentially uninitialized local variable 'fVal' used Change-Id: I579205c4cdc3149ef0c1b01daef32155a13d666b diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx index ba9fbfb..b7a429c 100644 --- a/sc/source/ui/view/viewfun6.cxx +++ b/sc/source/ui/view/viewfun6.cxx @@ -263,7 +263,7 @@ void ScViewFunc::InsertCurrentTime(short nCellFmt, const OUString& rUndoStr) assert(!"unhandled current date/time request"); nCellFmt = NUMBERFORMAT_DATETIME; } - double fVal; + double fVal(0); switch (nCellFmt) { case NUMBERFORMAT_DATE: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits