summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-20 11:04:59 +0100
committerGünther Deschner <gd@samba.org>2009-03-20 11:04:59 +0100
commitd2fb6d348248cdca7e55360c77aa31b91250f885 (patch)
tree152c892421a4c5cc2f6c4e94937d04341474f5d9 /source3
parent045151b767c62ac1343e86cb3886107226e73fda (diff)
downloadsamba-d2fb6d348248cdca7e55360c77aa31b91250f885.tar.gz
samba-d2fb6d348248cdca7e55360c77aa31b91250f885.tar.bz2
samba-d2fb6d348248cdca7e55360c77aa31b91250f885.zip
s3-net: Fix Coverity #898 (UNINIT).
Guenther
Diffstat (limited to 'source3')
-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 d83fb44aba..8a92c85b9e 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -1657,7 +1657,7 @@ static NTSTATUS get_sid_from_name(struct cli_state *cli,
{
DOM_SID *sids = NULL;
enum lsa_SidType *types = NULL;
- struct rpc_pipe_client *pipe_hnd;
+ struct rpc_pipe_client *pipe_hnd = NULL;
struct policy_handle lsa_pol;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;