diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2017-11-01 12:14:36 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2017-11-03 12:00:28 +0000 |
commit | 2ef2b600b98d029983bc2eb3b173d0bd201916b4 (patch) | |
tree | 0069ab25598181347e24183b5ff8edde7c397adb /contrib/rbtree | |
parent | bf5c5841c443a8da5b8f73c27b2ed83420f2303e (diff) |
glusterd/mgmt: coverity fixes
This patch fixes coverity issues 179, 59.
Problem: control flow won't enter into if block as volname is always
NULL and return value of function synctask_barrier_init is unchecked.
Fix: remove condition checking which is always resulting in false,
and removing if block which is always unreachable. As a result of
removal of condition checking volname became a unused variable,
so remove declaration of volname.
assign return valur of synctask_barrier_init to ret, if it nonzero
value goto out.
Change-Id: I870aeb020034e97a761e9314f7ace7573f7c520c
BUG: 789278
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'contrib/rbtree')
0 files changed, 0 insertions, 0 deletions