]> git.sur5r.net Git - openldap/commitdiff
ITS#7922 delete dead code
authorHoward Chu <hyc@openldap.org>
Wed, 20 Aug 2014 03:29:23 +0000 (20:29 -0700)
committerHoward Chu <hyc@openldap.org>
Wed, 20 Aug 2014 03:31:20 +0000 (20:31 -0700)
Harmless, but stupid.

servers/slapd/back-ldap/modify.c

index 4f7fdda53218cd55f1949fe985736f5d03aa9f7b..dca0be0e5966ed1a8c266292f04d53558b0ecbf1 100644 (file)
@@ -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 =