From fabee9d6816077d0f44a7d82c0b35aef60771711 Mon Sep 17 00:00:00 2001 From: Kartik_Burmee Date: Mon, 25 Sep 2017 15:49:36 +0530 Subject: Coverity issue fix: checked return issue:Calling "client_submit_request" without checking return value (as is done elsewhere 52 out of 58 times). function: client_fdctx_destroy Change-Id: I66a295dd114fc20f04eb1aca9a5b274df53be090 BUG: 789278 fix: typecasted function return value using void Signed-off-by: Kartik_Burmee --- xlators/protocol/client/src/client-rpc-fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c index 09756a835e2..803346b6aef 100644 --- a/xlators/protocol/client/src/client-rpc-fops.c +++ b/xlators/protocol/client/src/client-rpc-fops.c @@ -3207,7 +3207,7 @@ client_fdctx_destroy (xlator_t *this, clnt_fd_ctx_t *fdctx) memcpy (req.gfid, fdctx->gfid, 16); req.fd = fdctx->remote_fd; gf_msg_trace (this->name, 0, "sending release on fd"); - client_submit_request (this, &req, fr, &clnt3_3_fop_prog, + (void)client_submit_request (this, &req, fr, &clnt3_3_fop_prog, GFS3_OP_RELEASE, client3_3_release_cbk, NULL, NULL, 0, NULL, 0, NULL, -- cgit