From 34282fb5189babbe981b7033501b5ce943f3811b Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Sat, 8 Apr 2006 16:11:54 +0200 Subject: [PATCH] wldap32: Don't return uninitialised values. --- dlls/wldap32/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wldap32/init.c b/dlls/wldap32/init.c index da2c9d8c648..31b832d41b0 100644 --- a/dlls/wldap32/init.c +++ b/dlls/wldap32/init.c @@ -533,7 +533,7 @@ WLDAP32_LDAP *ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure ) WLDAP32_LDAP *ldap_sslinitW( PWCHAR hostname, ULONG portnumber, int secure ) { #ifdef HAVE_LDAP - WLDAP32_LDAP *ld; + WLDAP32_LDAP *ld = NULL; char *hostnameU = NULL, *url = NULL; TRACE( "(%s, %ld, 0x%08x)\n", debugstr_w(hostname), portnumber, secure );