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

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 26 14:09:30 UTC 2017


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



--- Comment #977 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18357 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit a2bbf75d04e8173c2156a001538564d141a26d4a
Author: Girjesh Rajoria <grajoria at redhat.com>
Date:   Sat Sep 23 02:00:56 2017 +0530

    Coverity Issue Fix: IDENTICAL_BRANCHES

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

    Function: glusterd_print_gsync_status_by_vol

    Fix: removed if and goto statement.

    Change-Id: I966d793c9f3b65487acfb07083a4039caf593105
    BUG: 789278
    Signed-off-by: Girjesh Rajoria <grajoria at redhat.com>

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


More information about the Bugs mailing list