diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-13 10:34:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:47 -0500 |
commit | bae1fcd20fb01942b40fddf7893d54063cf5ac95 (patch) | |
tree | 89a310f0ed24da57b67d2dc9bd0ccd3a25688568 /source3 | |
parent | 782d33e1c844344a339cac75b639a8775d2593b1 (diff) | |
download | samba-bae1fcd20fb01942b40fddf7893d54063cf5ac95.tar.gz samba-bae1fcd20fb01942b40fddf7893d54063cf5ac95.tar.bz2 samba-bae1fcd20fb01942b40fddf7893d54063cf5ac95.zip |
r19687: Fix uninitialized variables found by Coverity (and gcc -O1... ;-))
Volker
(This used to be commit b7dc9b81696aa5434419c5378a47b41c6dee3dfa)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libads/ldap.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |