diff options
author | Kartik_Burmee <kburmee@redhat.com> | 2017-11-14 20:32:59 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2017-11-15 09:22:31 +0000 |
commit | a5b5cbb99eb946cdc9ad08b2d321005def13f0a1 (patch) | |
tree | 50d10e7858c79d905fc2d972a566ccc42f04f7fe /xlators | |
parent | 705ec055040268f876d04fe5743a6ce4738d6e02 (diff) |
glusterd: checked_return coverity fix
function: glusterd_store_retrieve_options
issue: Calling "gf_store_iter_destroy" without checking return value
fix: typecasted the return value of the function to void
Change-Id: I6dc4f4308b1eca8d6ee85834a1530ff356c73898
BUG: 789278
Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c index 8ddcc8a9aae..af5044fb992 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.c +++ b/xlators/mgmt/glusterd/src/glusterd-store.c @@ -3296,7 +3296,7 @@ glusterd_store_retrieve_options (xlator_t *this) goto out; ret = 0; out: - gf_store_iter_destroy (iter); + (void) gf_store_iter_destroy (iter); gf_store_handle_destroy (shandle); return ret; } |