diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2019-05-28 11:52:46 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2019-05-30 09:39:35 +0000 |
commit | d2576452028db3b817fc5b1f4f924a98bc22c7dc (patch) | |
tree | e6dbd9855baac2ef8f30e373a2a7ed27afdbb0ee /xlators/mgmt/glusterd/src | |
parent | 002f4736cd470c20f427d8c25916abb4b95c9240 (diff) | |
download | glusterfs-d2576452028db3b817fc5b1f4f924a98bc22c7dc.tar.gz glusterfs-d2576452028db3b817fc5b1f4f924a98bc22c7dc.tar.xz glusterfs-d2576452028db3b817fc5b1f4f924a98bc22c7dc.zip |
glusterd: coverity fix
1401590: Deadcode
updates: bz#789278
Change-Id: I3aa1d3aa9769e6990f74b6a53e288e788173c5e0
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 02f02e9e83..cf7b6570a7 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -1587,8 +1587,6 @@ glusterd_op_stage_reset_volume(dict_t *dict, char **op_errstr) ret = -1; goto out; } - if (ret) - goto out; if (!exists) { ret = snprintf(msg, sizeof(msg), "Option %s does not exist", key); |