mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
Delete unused variables.
This commit is contained in:
parent
a8eacbb355
commit
d16754c81b
8 changed files with 2 additions and 9 deletions
|
|
@ -346,7 +346,6 @@ ldap_int_bisect_find( ber_int_t *v, ber_len_t n, ber_int_t id, int *idxp )
|
|||
{
|
||||
int begin,
|
||||
end,
|
||||
i,
|
||||
rc = 0;
|
||||
|
||||
assert( n >= 0 );
|
||||
|
|
|
|||
|
|
@ -262,9 +262,8 @@ int bdb_tool_id2entry_get(
|
|||
|
||||
Entry* bdb_tool_entry_get( BackendDB *be, ID id )
|
||||
{
|
||||
int rc, off;
|
||||
int rc;
|
||||
Entry *e = NULL;
|
||||
char *dptr;
|
||||
|
||||
assert( be != NULL );
|
||||
assert( slapMode & SLAP_TOOL_MODE );
|
||||
|
|
|
|||
|
|
@ -219,7 +219,6 @@ glue_op_func ( Operation *op, SlapReply *rs )
|
|||
static int
|
||||
glue_response ( Operation *op, SlapReply *rs )
|
||||
{
|
||||
slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
|
||||
BackendDB *be = op->o_bd;
|
||||
be = glue_back_select (op->o_bd, &op->o_req_ndn);
|
||||
|
||||
|
|
|
|||
|
|
@ -5178,7 +5178,6 @@ config_check_schema(CfBackInfo *cfb)
|
|||
{
|
||||
struct berval schema_dn = BER_BVC(SCHEMA_RDN "," CONFIG_RDN);
|
||||
ConfigArgs c = {0};
|
||||
ConfigFile *cf = cfb->cb_config;
|
||||
CfEntryInfo *ce, *last;
|
||||
Entry *e;
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ constraint_cf_gen( ConfigArgs *c )
|
|||
struct berval bv;
|
||||
int i, rc = 0;
|
||||
constraint ap = { NULL, NULL, NULL }, *a2 = NULL;
|
||||
regmatch_t rm[2];
|
||||
const char *text = NULL;
|
||||
|
||||
switch ( c->op ) {
|
||||
|
|
|
|||
|
|
@ -1837,7 +1837,6 @@ dds_initialize()
|
|||
{
|
||||
int rc = 0;
|
||||
int i, code;
|
||||
const char *err;
|
||||
|
||||
/* Make sure we don't exceed the bits reserved for userland */
|
||||
config_check_userland( DDS_LAST );
|
||||
|
|
|
|||
|
|
@ -645,7 +645,7 @@ refint_response(
|
|||
slap_overinst *on = (slap_overinst *) op->o_bd->bd_info;
|
||||
refint_data *id = on->on_bi.bi_private;
|
||||
BerValue pdn;
|
||||
int rc, ac;
|
||||
int ac;
|
||||
refint_q *rq;
|
||||
BackendDB *db;
|
||||
refint_attrs *ip;
|
||||
|
|
|
|||
|
|
@ -689,7 +689,6 @@ static int translucent_db_config(
|
|||
static int translucent_db_init(BackendDB *be) {
|
||||
slap_overinst *on = (slap_overinst *) be->bd_info;
|
||||
translucent_info *ov;
|
||||
int rc;
|
||||
|
||||
Debug(LDAP_DEBUG_TRACE, "==> translucent_db_init\n", 0, 0, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue