[kmymoney4] [Bug 385180] New: investactivities.cpp: 8 * Redundant condition

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Sep 28 20:12:39 UTC 2017


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

            Bug ID: 385180
           Summary: investactivities.cpp: 8 * Redundant condition
           Product: kmymoney4
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: dcb314 at hotmail.com
  Target Milestone: ---

[investactivities.cpp:111]: (style) Redundant condition: isMultiSelection().
'!A
 || (A && B)' is equivalent to '!A || B'
[investactivities.cpp:135]: (style) Redundant condition: isMultiSelection().
'!A
 || (A && B)' is equivalent to '!A || B'
[investactivities.cpp:263]: (style) Redundant condition: isMultiSelection().
'!A
 || (A && B)' is equivalent to '!A || B'
[investactivities.cpp:269]: (style) Redundant condition: isMultiSelection().
'!A
 || (A && B)' is equivalent to '!A || B'
[investactivities.cpp:349]: (style) Redundant condition: isMultiSelection().
'!A
 || (A && B)' is equivalent to '!A || B'
[investactivities.cpp:355]: (style) Redundant condition: isMultiSelection().
'!A
 || (A && B)' is equivalent to '!A || B'
[investactivities.cpp:498]: (style) Redundant condition: isMultiSelection().
'!A
 || (A && B)' is equivalent to '!A || B'
[investactivities.cpp:504]: (style) Redundant condition: isMultiSelection().
'!A
 || (A && B)' is equivalent to '!A || B'

First one is

  if (!isMultiSelection() || (isMultiSelection() &&
!cat->currentText().isEmpty())) {

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


More information about the KMyMoney-devel mailing list