From bae1fcd20fb01942b40fddf7893d54063cf5ac95 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 13 Nov 2006 10:34:59 +0000 Subject: r19687: Fix uninitialized variables found by Coverity (and gcc -O1... ;-)) Volker (This used to be commit b7dc9b81696aa5434419c5378a47b41c6dee3dfa) --- source3/libads/ldap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/libads') diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 5dcc3c33ba..f65ae02ede 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -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; -- cgit