[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 29 08:44:24 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=789278



--- Comment #1021 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18342 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit d01a674077f2411ecde7bd6037efbfcf6faa65ba
Author: Mohammed Azhar Padariyakam <mpadariy at redhat.com>
Date:   Thu Sep 21 20:55:05 2017 +0530

    protocol/client: Coverity Fix IDENTICAL_BRANCHES in client3_3_flush_cbk

    Issue : The same code is executed when the condition "ret < 0" is true
    or false, because the code in the if-then branch and after the if
    statement is identical.

    Solution : Remove the if-condition whose output does not alter the
    program flow of control

    Fix : The identical branching condition was removed.

    Change-Id: Iae40f068e5a03946273e1091886ba7011460fcc8
    BUG: 789278
    Signed-off-by: Mohammed Azhar Padariyakam <mpadariy at redhat.com>

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


More information about the Bugs mailing list