From: Luke Howard Date: Fri, 22 Jul 2005 09:40:22 +0000 (+0000) Subject: remove redundant variable X-Git-Tag: OPENLDAP_AC_BP~247 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1c6124019fe6a5b4b60dc324310e249316059f35;p=openldap remove redundant variable --- diff --git a/servers/slapd/slapi/slapi.h b/servers/slapd/slapi/slapi.h index 7c56f2e9dc..9451cc682b 100644 --- a/servers/slapd/slapi/slapi.h +++ b/servers/slapd/slapi/slapi.h @@ -74,7 +74,6 @@ typedef struct _ExtendedOp { struct _computed_attr_context { Slapi_PBlock *cac_pb; Operation *cac_op; - AccessControlState *cac_acl_state; void *cac_private; }; diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index a45472032a..1359621a6c 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -102,12 +102,10 @@ slapi_over_aux_operational( Operation *op, SlapReply *rs ) /* Support for computed attribute plugins */ computed_attr_context ctx; AttributeName *anp; - AccessControlState acl_state = ACL_STATE_INIT; ctx.cac_pb = slapi_over_pblock_new( op ); ctx.cac_op = op; ctx.cac_private = rs; - ctx.cac_acl_state = &acl_state; if ( rs->sr_entry != NULL ) { /*