From: Emmanuel Dreyfus Date: Wed, 11 Feb 2009 05:03:25 +0000 (+0000) Subject: Remove two useless lines (a badly applied patch before the last commit?) X-Git-Tag: ACLCHECK_0~836 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=58437e838a9d1c1d0cff6ec4c0203f6ad83d9649;p=openldap Remove two useless lines (a badly applied patch before the last commit?) --- diff --git a/contrib/slapd-modules/nops/nops.c b/contrib/slapd-modules/nops/nops.c index 0914cf4695..ea29ecdc8b 100644 --- a/contrib/slapd-modules/nops/nops.c +++ b/contrib/slapd-modules/nops/nops.c @@ -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); }