summaryrefslogtreecommitdiff
path: root/ctdb/protocol
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-06-08 00:04:31 +1000
committerAmitay Isaacs <amitay@samba.org>2019-07-05 05:03:24 +0000
commit4f84aafa61cad21ba77b86f3341c09e0314e8b47 (patch)
treea4996608da08069e55c1cda9e9ba78bd3b545358 /ctdb/protocol
parent75a808fd86a58371b465332f7c9d47d2dfbcbc08 (diff)
downloadsamba-4f84aafa61cad21ba77b86f3341c09e0314e8b47.tar.gz
ctdb-protocol: Do not ignore return value of ctdb_g_lock_pull()
clang reports: ctdb/protocol/protocol_types.c:5191:3: warning: Value stored to 'ret' is never read Found by csbuild. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/protocol')
-rw-r--r--ctdb/protocol/protocol_types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/protocol/protocol_types.c b/ctdb/protocol/protocol_types.c
index 416d4843b74..8090dbddadf 100644
--- a/ctdb/protocol/protocol_types.c
+++ b/ctdb/protocol/protocol_types.c
@@ -5208,5 +5208,5 @@ done:
fail:
talloc_free(val);
- return ENOMEM;
+ return ret;
}