1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r19687: Fix uninitialized variables found by Coverity (and gcc -O1... ;-))

Volker
This commit is contained in:
Volker Lendecke 2006-11-13 10:34:59 +00:00 committed by Gerald (Jerry) Carter
parent 28ac023581
commit b7dc9b8169

View File

@ -1301,7 +1301,8 @@ char *ads_default_ou_string(ADS_STRUCT *ads, const char *wknguid)
{
ADS_STATUS status;
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};
int new_ln, wkn_ln, bind_ln, i;