oox/source/dump/dumperbase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ca8f6bb28283879b1f11af0991485bbc3ae74767 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Jul 23 10:28:03 2012 +0200 Bogus warning C4701: potentially uninitialized local variable Change-Id: I51caaca911f71788940260bd63d3854526d7473f (cherry picked from commit 6aff9717426db96f41ab04cd96da2b5d074625e1) Signed-off-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 5ad2f6a..58285c4 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -343,7 +343,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]; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits