summaryrefslogtreecommitdiff
path: root/source3/client
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/client
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/client')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 435ede904e..6a3e73c710 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3668,7 +3668,7 @@ static void browse_fn(const char *name, uint32 m,
static bool browse_host_rpc(bool sort)
{
NTSTATUS status;
- struct rpc_pipe_client *pipe_hnd;
+ struct rpc_pipe_client *pipe_hnd = NULL;
TALLOC_CTX *frame = talloc_stackframe();
WERROR werr;
struct srvsvc_NetShareInfoCtr info_ctr;