core/vcl/source/control/tabctrl.cxx:1202]: (style) Redundant condition: mbHideDisabledTabs. '!A || (A && B)' is equivalent to '!A || B' Source code is if(!mbHideDisabledTabs || (mbHideDisabledTabs && pItem->mbEnabled))
You're right! (cf http://dev-builds.libreoffice.org/cppcheck_reports/master/) Would you like to get involved and propose a patch? (see https://wiki.documentfoundation.org/Development/GetInvolved)
If cppcheck is used on the source code reasonably frequently and someone is looking at the reports and fixing bugs, then there is no need for me to be involved further.
(In reply to dcb314 from comment #2) > If cppcheck is used on the source code reasonably frequently and > someone is looking at the reports and fixing bugs, then there > is no need for me to be involved further. cppcheck is used frequently, it runs automatically, but it takes a human to fix bugs, so we need people to be involved. Please remember this software is made by volunteers, so every little drop helps make the software better.
Change status to ASSIGNED
Already fixed by krishna keshav https://gerrit.libreoffice.org/#/c/26984/3