[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Tue Aug 19 23:06:56 PDT 2014
sc/source/ui/view/viewfun6.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a1a480f91e6f43df23b9ecdf47d5cd230c50ebed
Author: Tor Lillqvist <tml at 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:
More information about the Libreoffice-commits
mailing list