[Libreoffice] "Found duplicate branches for if and else" in dbtree.cxx
julien2412
serval2412 at yahoo.fr
Fri Jan 20 23:53:29 PST 2012
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.
More information about the LibreOffice
mailing list