From 490f27c44f0a4feb8c52fc31f28163310690e0a1 Mon Sep 17 00:00:00 2001 From: Kamal Mohanan Date: Mon, 25 Sep 2017 10:57:21 +0530 Subject: Fix a coverity error of checker type: CHECKED_RETURN Problem: dht_frame_return was being called without checking the return value. Solution: Typecast the value returned by the function to void. Change-Id: Idfc6a7ed467d1c8f5f8d09ec26d9059f3d23b760 BUG: 789278 Signed-off-by: Kamal Mohanan --- xlators/cluster/dht/src/dht-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index b8a860d8049..185eeb25f5d 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -8742,7 +8742,7 @@ dht_rmdir_opendir_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if (!readdirp_frame) { cnt--; /* Reduce the local->call_cnt as well */ - dht_frame_return (frame); + (void) dht_frame_return (frame); continue; } -- cgit