Skip to content
Snippets Groups Projects
Commit 2d5d4ecf authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2480 uninit'd vars

parent 5ee92644
Branches
Tags
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment