mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
r19687: Fix uninitialized variables found by Coverity (and gcc -O1... ;-))
Volker
This commit is contained in:
parent
28ac023581
commit
b7dc9b8169
@ -1301,7 +1301,8 @@ char *ads_default_ou_string(ADS_STRUCT *ads, const char *wknguid)
|
|||||||
{
|
{
|
||||||
ADS_STATUS status;
|
ADS_STATUS status;
|
||||||
LDAPMessage *res = NULL;
|
LDAPMessage *res = NULL;
|
||||||
char *base, *wkn_dn, *ret = NULL, **wkn_dn_exp, **bind_dn_exp;
|
char *base, *wkn_dn = NULL, *ret = NULL, **wkn_dn_exp = NULL,
|
||||||
|
**bind_dn_exp = NULL;
|
||||||
const char *attrs[] = {"distinguishedName", NULL};
|
const char *attrs[] = {"distinguishedName", NULL};
|
||||||
int new_ln, wkn_ln, bind_ln, i;
|
int new_ln, wkn_ln, bind_ln, i;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user