From acab9b3266c41b3fb3b07f5a207c99dbbbd70b51 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 21 Nov 2002 02:18:31 +0000 Subject: [PATCH] remove cruft --- servers/slapd/mr.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/servers/slapd/mr.c b/servers/slapd/mr.c index 64d02b3058..58e5c960a4 100644 --- a/servers/slapd/mr.c +++ b/servers/slapd/mr.c @@ -310,16 +310,6 @@ matching_rule_use_init( void ) MatchingRule *mr; MatchingRuleUse **mru_ptr = &mru_list; -#define MR_TYPE_MASK ( SLAP_MR_TYPE_MASK & ~SLAP_MR_EXT ) -#define MR_TYPE_SUBTYPE_MASK ( MR_TYPE_MASK | SLAP_MR_SUBTYPE_MASK ) -#if 0 /* all types regardless of EXT */ -#define MR_TYPE(x) ( (x) & MR_TYPE_MASK ) -#define MR_TYPE_SUBTYPE(x) ( (x) & MR_TYPE_SUBTYPE_MASK ) -#else /* only those marked as EXT (as per RFC 2252) */ -#define MR_TYPE(x) ( ( (x) & SLAP_MR_EXT ) ? ( (x) & MR_TYPE_MASK ) : SLAP_MR_NONE ) -#define MR_TYPE_SUBTYPE(x) ( ( (x) & SLAP_MR_EXT ) ? ( (x) & MR_TYPE_SUBTYPE_MASK ) : SLAP_MR_NONE ) -#endif - #ifdef NEW_LOGGING LDAP_LOG( OPERATION, INFO, "matching_rule_use_init\n", 0, 0, 0 ); #else @@ -327,9 +317,6 @@ matching_rule_use_init( void ) #endif for ( mr = mr_list; mr; mr = mr->smr_next ) { - slap_mask_t um = MR_TYPE( mr->smr_usage ); - slap_mask_t usm = MR_TYPE_SUBTYPE( mr->smr_usage ); - AttributeType *at; MatchingRuleUse _mru, *mru = &_mru; -- 2.39.5