Remove unused variables.

This commit is contained in:
Hallvard Furuseth 2005-07-22 13:18:28 +00:00
parent 1c6124019f
commit 100634c920
4 changed files with 7 additions and 4 deletions

View File

@ -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;

View File

@ -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 ) {

View File

@ -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];

View File

@ -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