From: Howard Chu Date: Wed, 10 Dec 2014 22:58:33 +0000 (+0000) Subject: ITS#8001 fix ldap_sync_initialize X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=234931acb0da045c4c1aa9547f456d71811c84ac;p=openldap ITS#8001 fix ldap_sync_initialize --- diff --git a/libraries/libldap/ldap_sync.c b/libraries/libldap/ldap_sync.c index e573c3b52b..469bff803a 100644 --- a/libraries/libldap/ldap_sync.c +++ b/libraries/libldap/ldap_sync.c @@ -64,10 +64,8 @@ ldap_sync_initialize( ldap_sync_t *ls_in ) if ( ls == NULL ) { return NULL; } - - } else { - memset( ls, 0, sizeof( ldap_sync_t ) ); } + memset( ls, 0, sizeof( ldap_sync_t ) ); ls->ls_scope = LDAP_SCOPE_SUBTREE; ls->ls_timeout = -1;