[Kmymoney-devel] [kmymoney4] [Bug 337796] New: kmymoney-4.6.6/kmymoney/widgets/register.cpp:1768: bad if test ?

dcb314 at hotmail.com dcb314 at hotmail.com
Fri Jul 25 11:10:50 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=337796

            Bug ID: 337796
           Summary: kmymoney-4.6.6/kmymoney/widgets/register.cpp:1768: bad
                    if test ?
           Product: kmymoney4
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: dcb314 at hotmail.com

kmymoney-4.6.6/kmymoney/widgets/register.cpp:1768:49: warning: logical 'or' of
collectively exhaustive tests is always true [-Wlogical-op]

        if ((item->isSelected() != sel) && (sel || !sel)) {

Suggest code rework.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list