summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-13 12:47:00 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-13 12:49:28 +0300
commitef8a4af30a3261d92311c7c76af9cb9b123d7a54 (patch)
tree2131cc8084c41e0c31393c72b226128b606a1c1a /unotools
parent8fe8bd6c3b5b1a539b7370f8c457fa69c061d2de (diff)
WaE: 'bFrac' may be used uninitialized in this function
Actually it isn't (I think), but let's silence the compiler. Thanks to mjw for noticing and pointing out this warning on IRC. Change-Id: I78885a6dac0c3e27867215d99f6e01d429d086ca
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/datetime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/misc/datetime.cxx b/unotools/source/misc/datetime.cxx
index cbfb1694e33d..93f60a6e007e 100644
--- a/unotools/source/misc/datetime.cxx
+++ b/unotools/source/misc/datetime.cxx
@@ -392,7 +392,7 @@ bool ISO8601parseTime(const OUString &aTimeStr, starutil::Time& rTime)
sal_Int32 n = 0;
OUString tokInt;
OUString tokFrac;
- bool bFrac;
+ bool bFrac = false;
// hours
if (bSuccess && (bSuccess = getISO8601TimeToken(aTimeStr, n, tokInt, bFrac, tokFrac)))
{