diff options
author | Jeremy Allison <jra@samba.org> | 2009-11-12 13:56:33 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-11-12 13:56:33 -0800 |
commit | 5363d6e62c2d4d3275e78d04c48835524c54f620 (patch) | |
tree | a7570c052a33168acbf0ce74b9685a3ba7bf6355 /source3/utils/net_util.c | |
parent | 6747a91ca0c350374c54bac5892cf96e5aed029f (diff) | |
download | samba-5363d6e62c2d4d3275e78d04c48835524c54f620.tar.gz samba-5363d6e62c2d4d3275e78d04c48835524c54f620.tar.xz samba-5363d6e62c2d4d3275e78d04c48835524c54f620.zip |
Ensure all callers to the rpc_client/cli_pipe functions correctly
initialize return variables.
Jeremy.
Diffstat (limited to 'source3/utils/net_util.c')
-rw-r--r-- | source3/utils/net_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c index d0d1fc0421..eaa2125e34 100644 --- a/source3/utils/net_util.c +++ b/source3/utils/net_util.c @@ -28,7 +28,7 @@ NTSTATUS net_rpc_lookup_name(struct net_context *c, const char **ret_name, DOM_SID *ret_sid, enum lsa_SidType *ret_type) { - struct rpc_pipe_client *lsa_pipe; + struct rpc_pipe_client *lsa_pipe = NULL; struct policy_handle pol; NTSTATUS result = NT_STATUS_OK; const char **dom_names; |