1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00

Ensure all callers to the rpc_client/cli_pipe functions correctly

initialize return variables.
Jeremy.
This commit is contained in:
Jeremy Allison
2009-11-12 13:56:33 -08:00
parent 6747a91ca0
commit 5363d6e62c
13 changed files with 21 additions and 34 deletions

View File

@@ -267,7 +267,7 @@ net_share_enum_rpc(struct cli_state *cli,
struct srvsvc_NetShareCtr1 ctr1;
fstring name = "";
fstring comment = "";
struct rpc_pipe_client *pipe_hnd;
struct rpc_pipe_client *pipe_hnd = NULL;
NTSTATUS nt_status;
uint32_t resume_handle = 0;
uint32_t total_entries = 0;