[PATCH][PUSHED] WaE in test/source/diff/diff.cxx

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Apr 28 18:15:32 PDT 2012


Hey David,

2012/4/28 David Ostrovsky <david.ostrovsky at gmx.de>:
> Hi,
>
> attached patch fix this WaE:
>
> [ build CXX ] test/source/sheet/xcellrangereferrer.cxx
> /home/david/projects/libreoffice-core/git/libo/solver/unxlngx6.pro/inc/test/xmldiff.hxx:
> In member function 'bool XMLDiff::compareAttributes(xmlNodePtr,
> xmlNodePtr)':
> /home/david/projects/libreoffice-core/git/libo/solver/unxlngx6.pro/inc/test/xmldiff.hxx:43:28:
> error: 'tol.tolerance::attribName' may be used uninitialized in this
> function [-Werror=uninitialized]
> /home/david/projects/libreoffice-core/git/libo/test/source/diff/diff.cxx:248:23:
> note: 'tol.tolerance::attribName' was declared here
> /home/david/projects/libreoffice-core/git/libo/solver/unxlngx6.pro/inc/test/xmldiff.hxx:42:29:
> error: 'tol.tolerance::elementName' may be used uninitialized in this
> function [-Werror=uninitialized]
> /home/david/projects/libreoffice-core/git/libo/test/source/diff/diff.cxx:248:23:
> note: 'tol.tolerance::elementName' was declared here
> cc1plus: all warnings being treated as errors
>

Thanks for the patch. Pushed.

Markus


More information about the LibreOffice mailing list