diff options
author | Kartik_Burmee <kburmee@redhat.com> | 2017-09-25 12:52:47 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-10-05 12:52:44 +0000 |
commit | b887915bd30ac98bbc64c6dcac73605cd96855ca (patch) | |
tree | 12bfa171fac8f30afeeb74a8504bb82c3b965c35 /xlators/storage | |
parent | fabee9d6816077d0f44a7d82c0b35aef60771711 (diff) |
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@redhat.com>
Diffstat (limited to 'xlators/storage')
0 files changed, 0 insertions, 0 deletions