summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-20 11:07:21 +0100
committerGünther Deschner <gd@samba.org>2009-03-20 11:07:21 +0100
commit73030b107d5722a2c42cd18240d45bcb256335ac (patch)
treea5ecfeb498b830af9d1e87a0d98a2b59b308be3a
parentd2fb6d348248cdca7e55360c77aa31b91250f885 (diff)
downloadsamba-73030b107d5722a2c42cd18240d45bcb256335ac.tar.gz
samba-73030b107d5722a2c42cd18240d45bcb256335ac.tar.bz2
samba-73030b107d5722a2c42cd18240d45bcb256335ac.zip
s3-net: Fix Coverity #861 (UNINIT).
Guenther
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 8a92c85b9e..21881ba6a9 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -54,7 +54,7 @@ NTSTATUS net_get_remote_domain_sid(struct cli_state *cli, TALLOC_CTX *mem_ctx,
DOM_SID **domain_sid,
const char **domain_name)
{
- struct rpc_pipe_client *lsa_pipe;
+ struct rpc_pipe_client *lsa_pipe = NULL;
struct policy_handle pol;
NTSTATUS result = NT_STATUS_OK;
union lsa_PolicyInformation *info = NULL;