ITS#2480 uninit'd vars

This commit is contained in:
Howard Chu 2003-05-02 13:38:16 +00:00
parent 5ee9264465
commit 2d5d4ecffa
3 changed files with 4 additions and 2 deletions

View File

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

View File

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

View File

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