]> git.sur5r.net Git - openldap/commitdiff
Remove two useless lines (a badly applied patch before the last commit?)
authorQuanah Gibson-Mount <quanah@openldap.org>
Tue, 28 Apr 2009 02:44:25 +0000 (02:44 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 28 Apr 2009 02:44:25 +0000 (02:44 +0000)
contrib/slapd-modules/nops/nops.c

index 0914cf4695cfb0c0aaea70c7a3fe4fae15e952be..ea29ecdc8b0baee068f89f1bc466ae89d302b652 100644 (file)
@@ -47,7 +47,6 @@ nops_rm_mod( Modifications **mods, Modifications *mod ) {
                }
        }
 
-       for (m = *mods; m; m = m->sml_next)
        mod->sml_next = NULL;
        slap_mods_free(mod, 1);
 
@@ -139,7 +138,6 @@ nops_modify( Operation *op, SlapReply *rs )
        if ((m = op->orm_modlist) == NULL) {
                op->o_bd->bd_info = (BackendInfo *)(on->on_info);
                send_ldap_error(op, rs, LDAP_SUCCESS, "");
-               return(rs->sr_err);
                return (rs->sr_err);
        }