From 234931acb0da045c4c1aa9547f456d71811c84ac Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 10 Dec 2014 22:58:33 +0000 Subject: [PATCH] ITS#8001 fix ldap_sync_initialize --- libraries/libldap/ldap_sync.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.39.5