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

s3/lib: clang: Fix 'function call argument is an uninitialized value'

Fixes:

source3/lib/ctdbd_conn.c:1066:3: warning: 3rd function call argument is an uninitialized value <--[clang]
                DEBUG(0,("ctdbd_control failed: %s, %d\n", strerror(ret),
                ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Noel Power 2019-07-09 16:05:37 +00:00 committed by Gary Lockyer
parent 1d651a8d58
commit 81f8cbfba3

View File

@ -1039,7 +1039,7 @@ int ctdbd_traverse(struct ctdbd_connection *conn, uint32_t db_id,
int ret;
TDB_DATA key, data;
struct ctdb_traverse_start t;
int32_t cstatus;
int32_t cstatus = 0;
if (ctdbd_conn_has_async_reqs(conn)) {
/*