[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool
bugzilla at redhat.com
bugzilla at redhat.com
Thu Oct 5 09:58:47 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=789278
--- Comment #1043 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18372 committed in master by Jeff Darcy
(jeff at pl.atyp.us)
------
commit b887915bd30ac98bbc64c6dcac73605cd96855ca
Author: Kartik_Burmee <kburmee at redhat.com>
Date: Mon Sep 25 12:52:47 2017 +0530
Coverity issue fix: IDENTICAL_BRANCHES
issue: 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.
Should the if statement be removed?
function: glusterd_print_gsync_status_by_vol
Change-Id: Iedad05cbafd9598443b524778056f7740e4f12a5
BUG: 789278
fix: removed the 'if' block because the value of ret will be returned in
any case
Signed-off-by: Kartik_Burmee <kburmee at redhat.com>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Bugs
mailing list