summaryrefslogtreecommitdiffstats
path: root/source/winbindd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-11 22:44:33 -0800
committerJeremy Allison <jra@samba.org>2008-01-11 22:44:33 -0800
commit4038bb3a9485943db58d9fe30947e11522ce283d (patch)
tree0ec74ba97367042f4717cb1c8e14632f81ed988f /source/winbindd
parent08645826817d42c9d4b42ea0fd5e633d7fd08d35 (diff)
downloadsamba-4038bb3a9485943db58d9fe30947e11522ce283d.tar.gz
samba-4038bb3a9485943db58d9fe30947e11522ce283d.tar.xz
samba-4038bb3a9485943db58d9fe30947e11522ce283d.zip
Ensure we don't access an uninitialized variable
(CID 535 - actually false but easy to shut up :-). Jeremy.
Diffstat (limited to 'source/winbindd')
-rw-r--r--source/winbindd/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_rpc.c b/source/winbindd/winbindd_rpc.c
index f5e12264471..34ba0498e0a 100644
--- a/source/winbindd/winbindd_rpc.c
+++ b/source/winbindd/winbindd_rpc.c
@@ -308,7 +308,7 @@ NTSTATUS msrpc_sid_to_name(struct winbindd_domain *domain,
{
char **domains;
char **names;
- enum lsa_SidType *types;
+ enum lsa_SidType *types = NULL;
NTSTATUS result;
struct rpc_pipe_client *cli;
POLICY_HND lsa_policy;