Module: wine Branch: refs/heads/master Commit: 34282fb5189babbe981b7033501b5ce943f3811b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=34282fb5189babbe981b7033...
Author: Hans Leidekker hans@it.vu.nl Date: Sat Apr 8 16:11:54 2006 +0200
wldap32: Don't return uninitialised values.
---
dlls/wldap32/init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wldap32/init.c b/dlls/wldap32/init.c index da2c9d8..31b832d 100644 --- a/dlls/wldap32/init.c +++ b/dlls/wldap32/init.c @@ -533,7 +533,7 @@ WLDAP32_LDAP *ldap_sslinitA( PCHAR hostn 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 );