mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#2480 uninit'd vars
This commit is contained in:
parent
5ee9264465
commit
2d5d4ecffa
@ -126,6 +126,8 @@ retry: /* transaction retry */
|
||||
eip = ei->bei_parent;
|
||||
bdb_cache_find_id( op->o_bd, ltid, eip->bei_id, &eip,
|
||||
0, locker, &plock, op->o_tmpmemctx );
|
||||
} else {
|
||||
matched = ei->bei_e;
|
||||
}
|
||||
if ( eip ) {
|
||||
p = eip->bei_e;
|
||||
|
@ -232,7 +232,7 @@ int bdb_entry_get(
|
||||
struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private;
|
||||
struct bdb_op_info *boi = NULL;
|
||||
DB_TXN *txn = NULL;
|
||||
Entry *e;
|
||||
Entry *e = NULL;
|
||||
EntryInfo *ei;
|
||||
int rc;
|
||||
const char *at_name = at->ad_cname.bv_val;
|
||||
|
@ -107,7 +107,7 @@ ID bdb_tool_entry_next(
|
||||
Entry* bdb_tool_entry_get( BackendDB *be, ID id )
|
||||
{
|
||||
int rc;
|
||||
Entry *e;
|
||||
Entry *e = NULL;
|
||||
struct berval bv;
|
||||
|
||||
assert( be != NULL );
|
||||
|
Loading…
Reference in New Issue
Block a user