From 231a7cacf6928851a87a15f9427a1136a4ef15e2 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 26 Apr 2003 03:28:48 +0000 Subject: [PATCH] Remove unused variables in slapi_filter_test() --- servers/slapd/slapi/slapi_utils.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/servers/slapd/slapi/slapi_utils.c b/servers/slapd/slapi/slapi_utils.c index 55f6e934fa..aae1b24e8a 100644 --- a/servers/slapd/slapi/slapi_utils.c +++ b/servers/slapd/slapi/slapi_utils.c @@ -1749,8 +1749,6 @@ slapi_filter_test( Slapi_PBlock *pb, Slapi_Entry *e, Slapi_Filter *f, int verify_access ) { #ifdef LDAP_SLAPI - Backend *be = NULL; - Connection *conn; Operation *op; int rc; @@ -1760,17 +1758,11 @@ slapi_filter_test( Slapi_PBlock *pb, Slapi_Entry *e, Slapi_Filter *f, } if ( verify_access ) { - (void) slapi_pblock_get(pb, SLAPI_BACKEND, (void *)&be); - rc = slapi_pblock_get(pb, SLAPI_CONNECTION, (void *)&conn); - if ( rc != 0 ) { - return LDAP_PARAM_ERROR; - } rc = slapi_pblock_get(pb, SLAPI_OPERATION, (void *)&op); if ( rc != 0 ) { return LDAP_PARAM_ERROR; } } else { - conn = NULL; op = NULL; } /* -- 2.39.5