Fix some uninitialized variables

This commit is contained in:
Howard Chu 2001-10-22 15:57:58 +00:00
parent c108e66222
commit 11d884b8cf
2 changed files with 1 additions and 3 deletions

View File

@ -121,7 +121,6 @@ int bdb_id2entry_delete(
struct bdb_info *bdb = (struct bdb_info *) be->be_private;
DB *db = bdb->bi_id2entry->bdi_db;
DBT key;
struct berval *bv;
int rc;
DBTzero( &key );
@ -130,7 +129,6 @@ int bdb_id2entry_delete(
rc = db->del( db, tid, &key, 0 );
ber_bvfree( bv );
return rc;
}

View File

@ -35,7 +35,7 @@ bdb_modrdn(
const char *text;
char textbuf[SLAP_TEXT_BUFLEN];
size_t textlen = sizeof textbuf;
DB_TXN * ltid;
DB_TXN * ltid = NULL;
struct bdb_op_info opinfo;
ID id;