summaryrefslogtreecommitdiff
path: root/ctdb/server
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-05-29 19:05:49 +1000
committerAmitay Isaacs <amitay@samba.org>2019-06-05 10:25:50 +0000
commitb1d83fb3e88acfdfe00f06e950185ed03fee624f (patch)
tree4838d7a6b0e78de8bbaf6b9e0e40265df2fc541e /ctdb/server
parentaa602a8cc590dd416764d21147545bb411e47e35 (diff)
downloadsamba-b1d83fb3e88acfdfe00f06e950185ed03fee624f.tar.gz
ctdb-daemon: Attempt to silence CID 1357985 (Unchecked return value)
Yes, the other callers check the return value of ctdb_lockdb_mark(). However, this is called in a void function and ctdb_lockdb_mark() has already printed any error message. All we can do is explicitly ignore the return value. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/server')
-rw-r--r--ctdb/server/ctdb_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_lock.c b/ctdb/server/ctdb_lock.c
index a559e244471..d42d47af85f 100644
--- a/ctdb/server/ctdb_lock.c
+++ b/ctdb/server/ctdb_lock.c
@@ -255,7 +255,7 @@ static void process_callbacks(struct lock_context *lock_ctx, bool locked)
break;
case LOCK_DB:
- ctdb_lockdb_mark(lock_ctx->ctdb_db);
+ (void)ctdb_lockdb_mark(lock_ctx->ctdb_db);
break;
}
}