summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-20 09:01:41 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-20 09:01:41 +0300
commita1a480f91e6f43df23b9ecdf47d5cd230c50ebed (patch)
treed04e2d043462824cf166c4623c76ac1b98ff7fd7 /sc
parent8b6ce55b90558703a8748c30690f6d5ecaf60d66 (diff)
Wa: C4701: potentially uninitialized local variable 'fVal' used
Change-Id: I579205c4cdc3149ef0c1b01daef32155a13d666b
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewfun6.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index ba9fbfbfcef6..b7a429c8c7ee 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: