Trying to build recent master on Windows with --enable-werror fails with
c:\lo\core\sc\source\filter\xml\xmlchangetrackingexporthelper.cxx(268) : error C2220: warning
treated as error - no 'object' file generated
c:\lo\core\sc\source\filter\xml\xmlchangetrackingexporthelper.cxx(268) : warning C4701: potentially
uninitialized local variable 'fTempValue' used
c:\lo\core\sc\source\filter\xml\xmlchangetrackingexporthelper.cxx(247) : warning C4701: potentially
uninitialized local variable 'nIndex' used
and looking at ScChangeTrackingExportHelper::SetValueAttributes,
SvNumberFormatter::IsNumberFormat etc., it is not clear to me at all
whether the former will use nIndex and fTempValue only in situations
where it is guaranteed that the latter has set their values.
Can somebody who knows this code better have a look?
Stephan
Context
- ScChangeTrackingExportHelper, SvNumberFormatter · Stephan Bergmann
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.