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


Hello,

Cppcheck reported this :
core/sw/source/ui/dbui/dbtree.cxx
349     duplicateBranch style   Found duplicate branches for if and else.

                        if(bTable)<--- Found duplicate branches for if and
else.
                            InsertEntry(sName, pParent);
                        else
                            InsertEntry(sName, pParent);
I took a look at the git history, it's been there since the initial commit
on 2000.

So either the if(bTable) is useless or something's missing.

Any idea ?

Julien.

--
View this message in context: 
http://nabble.documentfoundation.org/Found-duplicate-branches-for-if-and-else-in-dbtree-cxx-tp3677444p3677444.html
Sent from the Dev mailing list archive at Nabble.com.

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.