From f180ba8cec688ab7f0a71b43e073c5a527a2d931 Mon Sep 17 00:00:00 2001
From: Quanah Gibson-Mount <quanah@openldap.org>
Date: Thu, 5 Mar 2009 21:27:38 +0000
Subject: [PATCH] Delete bogus code from 1.435

---
 servers/slapd/syncrepl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c
index f10c36b600..69e5a9b095 100644
--- a/servers/slapd/syncrepl.c
+++ b/servers/slapd/syncrepl.c
@@ -3186,8 +3186,6 @@ dn_callback(
 				 * is actually newer than old entry
 				 */
 				if ( !is_entry_glue( rs->sr_entry )) {
-					old = attr_find( rs->sr_entry->e_attrs,
-						slap_schema.si_ad_objectClass );
 					old = attr_find( rs->sr_entry->e_attrs,
 						slap_schema.si_ad_entryCSN );
 					new = attr_find( dni->new_entry->e_attrs,
-- 
GitLab