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

David Ostrovsky david.ostrovsky at gmx.de
Sat Apr 28 10:22:42 PDT 2012


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

Ciao
David


More information about the LibreOffice mailing list