wldap32: Don't return uninitialised values.
This commit is contained in:
parent
42af5f3950
commit
34282fb518
|
@ -533,7 +533,7 @@ WLDAP32_LDAP *ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure )
|
||||||
WLDAP32_LDAP *ldap_sslinitW( PWCHAR hostname, ULONG portnumber, int secure )
|
WLDAP32_LDAP *ldap_sslinitW( PWCHAR hostname, ULONG portnumber, int secure )
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LDAP
|
#ifdef HAVE_LDAP
|
||||||
WLDAP32_LDAP *ld;
|
WLDAP32_LDAP *ld = NULL;
|
||||||
char *hostnameU = NULL, *url = NULL;
|
char *hostnameU = NULL, *url = NULL;
|
||||||
|
|
||||||
TRACE( "(%s, %ld, 0x%08x)\n", debugstr_w(hostname), portnumber, secure );
|
TRACE( "(%s, %ld, 0x%08x)\n", debugstr_w(hostname), portnumber, secure );
|
||||||
|
|
Loading…
Reference in New Issue