1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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>
This commit is contained in:
Martin Schwenke 2019-06-08 00:04:31 +10:00 committed by Amitay Isaacs
parent 75a808fd86
commit 4f84aafa61

View File

@ -5208,5 +5208,5 @@ done:
fail:
talloc_free(val);
return ENOMEM;
return ret;
}