diff options
Diffstat (limited to 'ldap/servers/slapd/match.c')
-rw-r--r-- | ldap/servers/slapd/match.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ldap/servers/slapd/match.c b/ldap/servers/slapd/match.c index f89103f4..24d9137b 100644 --- a/ldap/servers/slapd/match.c +++ b/ldap/servers/slapd/match.c @@ -216,12 +216,11 @@ int slapi_matchingrule_register(Slapi_MatchingRuleEntry *mrule) { struct matchingRuleList *mrl=NULL; struct matchingRuleList *newmrl=NULL; - int rc=0; if(NULL == mrule) { return(-1); } - if((rc = _mr_alloc_new(&newmrl)) != 0) { + if(_mr_alloc_new(&newmrl) != 0) { return(-1); } if(NULL != mrule->mr_name) { |