From: Howard Chu Date: Tue, 13 Feb 2007 11:13:14 +0000 (+0000) Subject: Coverity error, uninit'd rc X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8db4bd2cc955848eee673c87d9fa55465d14dd8e;p=openldap Coverity error, uninit'd rc --- diff --git a/libraries/libldap/ldap_sync.c b/libraries/libldap/ldap_sync.c index 0957baaedd..8db70ada28 100644 --- a/libraries/libldap/ldap_sync.c +++ b/libraries/libldap/ldap_sync.c @@ -697,6 +697,7 @@ ldap_sync_init( ldap_sync_t *ls, int mode ) ber == NULL ? "=" : "!" ); #endif /* LDAP_SYNC_TRACE */ if ( ber == NULL ) { + rc = LDAP_NO_MEMORY; goto done; }