Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello,

I've runned a cppcheck last git version on libs-core (master branch updated today) and found this oddity : [basic/source/app/mybasic.cxx:265] -> [basic/source/app/mybasic.cxx:260]: (style) Found duplicate branches for if and else. [embeddedobj/source/msole/olepersist.cxx:1835] -> [embeddedobj/source/msole/olepersist.cxx:1823]: (style) Found duplicate branches for if and else. [svx/source/gallery2/galctrl.cxx:701] -> [svx/source/gallery2/galctrl.cxx:699]: (style) Found duplicate branches for if and else. [svx/source/svdraw/svdpagv.cxx:890] -> [svx/source/svdraw/svdpagv.cxx:887]: (style) Found duplicate branches for if and else. [svx/source/unodraw/unoshape.cxx:3091] -> [svx/source/unodraw/unoshape.cxx:3084]: (style) Found duplicate branches for if and else.

Is it a kind of "side effect" of a merge ?
Then I don't know if the "if/else" must be removed or if one of them must be modified ; I let you judge. If useful, I can run cppcheck on the other modules and filter on this "style" error, just tell me.

Julien.

Context


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.