From: Howard Chu Date: Wed, 20 Aug 2014 03:29:23 +0000 (-0700) Subject: ITS#7922 delete dead code X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd02e6054ea2589ab63e600714af4916f412eaff;p=openldap ITS#7922 delete dead code Harmless, but stupid. --- diff --git a/servers/slapd/back-ldap/modify.c b/servers/slapd/back-ldap/modify.c index 4f7fdda532..dca0be0e59 100644 --- a/servers/slapd/back-ldap/modify.c +++ b/servers/slapd/back-ldap/modify.c @@ -75,10 +75,6 @@ ldap_back_modify( mods[ i ].mod_type = ml->sml_desc->ad_cname.bv_val; if ( ml->sml_values != NULL ) { - if ( ml->sml_values == NULL ) { - continue; - } - for ( j = 0; !BER_BVISNULL( &ml->sml_values[ j ] ); j++ ) /* just count mods */ ; mods[ i ].mod_bvalues =