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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user