summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-03 19:36:16 +0000
committerJeremy Allison <jra@samba.org>2003-03-03 19:36:16 +0000
commit56d0621264b3e62d8672dbb1aa4422b7cb5afc59 (patch)
tree576b7e276ca66e3e850f6f3df96424ba4ee536ac /source3/nsswitch
parent3042cfb7fabe25cc06e5cf6c49c2716c1112b6d2 (diff)
downloadsamba-56d0621264b3e62d8672dbb1aa4422b7cb5afc59.tar.gz
samba-56d0621264b3e62d8672dbb1aa4422b7cb5afc59.tar.bz2
samba-56d0621264b3e62d8672dbb1aa4422b7cb5afc59.zip
Fix "might be used uninitialised" warnings.
Jeremy. (This used to be commit a670b57c563b220c2ede1dac4ce1e9c71c866498)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c
index 9989f27109..9ec35617f1 100644
--- a/source3/nsswitch/winbindd_rpc.c
+++ b/source3/nsswitch/winbindd_rpc.c
@@ -344,7 +344,7 @@ static NTSTATUS query_user(struct winbindd_domain *domain,
DOM_SID *user_sid,
WINBIND_USERINFO *user_info)
{
- CLI_POLICY_HND *hnd;
+ CLI_POLICY_HND *hnd = NULL;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
POLICY_HND dom_pol, user_pol;
BOOL got_dom_pol = False, got_user_pol = False;
@@ -509,7 +509,7 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
DOM_SID ***sid_mem, char ***names,
uint32 **name_types)
{
- CLI_POLICY_HND *hnd;
+ CLI_POLICY_HND *hnd = NULL;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
uint32 i, total_names = 0;
POLICY_HND dom_pol, group_pol;