summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-23 10:28:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-23 10:28:03 +0200
commit6aff9717426db96f41ab04cd96da2b5d074625e1 (patch)
tree100b28dc07b297ddcb913452a0b186f9cc18a2a3 /oox
parentf86d51e1bc15e46090a59cfa10b71055ceccd381 (diff)
Bogus warning C4701: potentially uninitialized local variable
Change-Id: I51caaca911f71788940260bd63d3854526d7473f
Diffstat (limited to 'oox')
-rw-r--r--oox/source/dump/dumperbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx
index 20ecbc5ae296..0e4861575315 100644
--- a/oox/source/dump/dumperbase.cxx
+++ b/oox/source/dump/dumperbase.cxx
@@ -332,7 +332,7 @@ void StringHelper::appendHex( OUStringBuffer& rStr, sal_Int64 nData, bool bPrefi
static sal_uInt64
lcl_ConvertDouble(double const f)
{
- sal_uInt64 i;
+ sal_uInt64 i = sal_uInt64();
for (size_t j = 0; j < sizeof(double); ++j)
{ // hopefully both endian independent and strict aliasing safe
reinterpret_cast<char *>(&i)[j] = reinterpret_cast<char const *>(&f)[j];