From 97bc047434284527f25e130a72981da704ed1212 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 7 May 2003 23:09:18 +0000 Subject: Always initialise this - it helps callers who use this in a loop... Andrew Bartlett --- source/rpc_client/cli_samr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/rpc_client') diff --git a/source/rpc_client/cli_samr.c b/source/rpc_client/cli_samr.c index 767c6a12b25..4fe8fba7b0b 100644 --- a/source/rpc_client/cli_samr.c +++ b/source/rpc_client/cli_samr.c @@ -1000,6 +1000,8 @@ NTSTATUS cli_samr_query_dispinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, ZERO_STRUCT(q); ZERO_STRUCT(r); + *num_entries = 0; + /* Initialise parse structures */ prs_init(&qbuf, MAX_PDU_FRAG_LEN, mem_ctx, MARSHALL); -- cgit