diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-08-20 09:01:41 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-08-20 09:01:41 +0300 |
commit | a1a480f91e6f43df23b9ecdf47d5cd230c50ebed (patch) | |
tree | d04e2d043462824cf166c4623c76ac1b98ff7fd7 | |
parent | 8b6ce55b90558703a8748c30690f6d5ecaf60d66 (diff) |
Wa: C4701: potentially uninitialized local variable 'fVal' used
Change-Id: I579205c4cdc3149ef0c1b01daef32155a13d666b
-rw-r--r-- | sc/source/ui/view/viewfun6.cxx | 2 |
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: |