diff options
author | Varsha Rao <varao@redhat.com> | 2018-04-13 16:16:43 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2018-05-03 05:03:26 +0000 |
commit | 11b747bcec316aad77c68451346e092f33b2f218 (patch) | |
tree | 9d49231b7777862a47e9b9ac33325ce286be608d /xlators/protocol/server/src/server-handshake.c | |
parent | 4e7b423d3c3137c3f83b71b36279e1a544154833 (diff) |
glusterd/geo-rep: Fix UNUSED_VALUE coverity issue
The return value of glusterd_get_local_brickpaths is unused so add
goto statement. As it is reinitialized outside the if block. Also
change the if condition to check the failure case, when return value
is -1 and path_list is NULL.
Change-Id: I6b47d7751263f704bd69a6452a7e71bfcf226d49
updates: bz#789278
Signed-off-by: Varsha Rao <varao@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server-handshake.c')
0 files changed, 0 insertions, 0 deletions