From 1ea0c0dbda6d163ac6e79b7feebc1400fb1d034d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 12 Oct 2005 07:59:51 +0000 Subject: [PATCH] Remove obsolete csn variables --- servers/slapd/back-bdb/delete.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/servers/slapd/back-bdb/delete.c b/servers/slapd/back-bdb/delete.c index a0dcce5669..16e42d9bb1 100644 --- a/servers/slapd/back-bdb/delete.c +++ b/servers/slapd/back-bdb/delete.c @@ -51,16 +51,11 @@ bdb_delete( Operation *op, SlapReply *rs ) int parent_is_glue = 0; int parent_is_leaf = 0; - struct berval ctxcsn_ndn = BER_BVNULL; - ctrls[num_ctrls] = 0; Debug( LDAP_DEBUG_ARGS, "==> " LDAP_XSTRING(bdb_delete) ": %s\n", op->o_req_dn.bv_val, 0, 0 ); - build_new_dn( &ctxcsn_ndn, &op->o_bd->be_nsuffix[0], - (struct berval *)&slap_ldapsync_cn_bv, op->o_tmpmemctx ); - if( 0 ) { retry: /* transaction retry */ if( e != NULL ) { @@ -523,8 +518,6 @@ done: op->o_private = NULL; } - slap_sl_free( ctxcsn_ndn.bv_val, op->o_tmpmemctx ); - if( preread_ctrl != NULL ) { slap_sl_free( (*preread_ctrl)->ldctl_value.bv_val, op->o_tmpmemctx ); slap_sl_free( *preread_ctrl, op->o_tmpmemctx ); -- 2.39.5