git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3042cfb
)
Fix "might be used uninitialised" warnings.
author
Jeremy Allison
<jra@samba.org>
Mon, 3 Mar 2003 19:36:16 +0000
(19:36 +0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 3 Mar 2003 19:36:16 +0000
(19:36 +0000)
Jeremy.
(This used to be commit
a670b57c563b220c2ede1dac4ce1e9c71c866498
)
source3/nsswitch/winbindd_rpc.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_rpc.c
b/source3/nsswitch/winbindd_rpc.c
index 9989f27109d0ad49285b132da17e17033dd22852..9ec35617f111cdd7030f7d6abc1caca78c0dd881 100644
(file)
--- 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;