From 1c7041fd6b4be82415866dc19b9b2a5b41bd1396 Mon Sep 17 00:00:00 2001 From: Kartik_Burmee Date: Tue, 14 Nov 2017 20:12:37 +0530 Subject: features/marker: coverity fix issue: Calling "mq_inode_ctx_get" without checking return value function: marker_rename_unwind fix: typecasted the return value of function to void Change-Id: I552b1d76df434dfc3d9c2273ec63ccc4b9f960f2 BUG: 789278 Signed-off-by: Kartik_Burmee --- xlators/features/marker/src/marker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c index b51b9ccc9f5..cb8f8356259 100644 --- a/xlators/features/marker/src/marker.c +++ b/xlators/features/marker/src/marker.c @@ -1366,7 +1366,7 @@ marker_rename_unwind (call_frame_t *frame, void *cookie, xlator_t *this, * remove-xattr has failed as the rename is already performed * if local->stub is set, which means rename was sucessful */ - mq_inode_ctx_get (oplocal->loc.inode, this, &ctx); + (void) mq_inode_ctx_get (oplocal->loc.inode, this, &ctx); if (ctx) { contri = mq_get_contribution_node (oplocal->loc.parent, ctx); -- cgit