summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_shell.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-11-12 13:56:33 -0800
committerJeremy Allison <jra@samba.org>2009-11-12 13:56:33 -0800
commit5363d6e62c2d4d3275e78d04c48835524c54f620 (patch)
treea7570c052a33168acbf0ce74b9685a3ba7bf6355 /source3/utils/net_rpc_shell.c
parent6747a91ca0c350374c54bac5892cf96e5aed029f (diff)
downloadsamba-5363d6e62c2d4d3275e78d04c48835524c54f620.tar.gz
samba-5363d6e62c2d4d3275e78d04c48835524c54f620.tar.bz2
samba-5363d6e62c2d4d3275e78d04c48835524c54f620.zip
Ensure all callers to the rpc_client/cli_pipe functions correctly
initialize return variables. Jeremy.
Diffstat (limited to 'source3/utils/net_rpc_shell.c')
-rw-r--r--source3/utils/net_rpc_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_shell.c b/source3/utils/net_rpc_shell.c
index 5e0f150371..39ef1cedcd 100644
--- a/source3/utils/net_rpc_shell.c
+++ b/source3/utils/net_rpc_shell.c
@@ -69,7 +69,7 @@ static NTSTATUS net_sh_run(struct net_context *c,
int argc, const char **argv)
{
TALLOC_CTX *mem_ctx;
- struct rpc_pipe_client *pipe_hnd;
+ struct rpc_pipe_client *pipe_hnd = NULL;
NTSTATUS status;
mem_ctx = talloc_new(ctx);