mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Remove unused variables.
This commit is contained in:
parent
1c6124019f
commit
100634c920
@ -517,7 +517,6 @@ over_op_func(
|
||||
{
|
||||
slap_overinfo *oi;
|
||||
slap_overinst *on;
|
||||
BI_op_bind **func;
|
||||
BackendDB *be = op->o_bd, db;
|
||||
slap_callback cb = {NULL, over_back_response, NULL, NULL};
|
||||
int rc = SLAP_CB_CONTINUE;
|
||||
|
@ -448,7 +448,6 @@ int slap_parse_ctrl(
|
||||
const char **text )
|
||||
{
|
||||
struct slap_control *sc;
|
||||
int rc;
|
||||
|
||||
sc = find_ctrl( control->ldctl_oid );
|
||||
if( sc != NULL ) {
|
||||
|
@ -506,7 +506,7 @@ static int unique_modrdn(
|
||||
Operation nop = *op;
|
||||
|
||||
char *key, *kp;
|
||||
int i, rc, ks = 16; /* a handful of extra bytes */
|
||||
int i, ks = 16; /* a handful of extra bytes */
|
||||
LDAPRDN newrdn;
|
||||
struct berval bv[2];
|
||||
|
||||
|
@ -52,7 +52,10 @@ root_dse_info(
|
||||
const char **text )
|
||||
{
|
||||
Entry *e;
|
||||
struct berval val, *bv;
|
||||
struct berval val;
|
||||
#ifdef LDAP_SLAPI
|
||||
struct berval *bv;
|
||||
#endif
|
||||
int i, j;
|
||||
char ** supportedSASLMechanisms;
|
||||
BackendDB *be;
|
||||
@ -63,8 +66,10 @@ root_dse_info(
|
||||
= slap_schema.si_ad_objectClass;
|
||||
AttributeDescription *ad_namingContexts
|
||||
= slap_schema.si_ad_namingContexts;
|
||||
#ifdef LDAP_SLAPI
|
||||
AttributeDescription *ad_supportedExtension
|
||||
= slap_schema.si_ad_supportedExtension;
|
||||
#endif
|
||||
AttributeDescription *ad_supportedLDAPVersion
|
||||
= slap_schema.si_ad_supportedLDAPVersion;
|
||||
AttributeDescription *ad_supportedSASLMechanisms
|
||||
|
Loading…
Reference in New Issue
Block a user