tdb: Remove unused variable
authorTim Prouty <tprouty@samba.org>
Tue, 31 Mar 2009 23:24:07 +0000 (16:24 -0700)
committerTim Prouty <tprouty@samba.org>
Tue, 31 Mar 2009 23:24:07 +0000 (16:24 -0700)
lib/tdb/common/transaction.c

index 1cb7063a38432750973b8017cdb1277894ae3d2e..cb723ed1343e9e08be09f93afcfd6fc3564564bb 100644 (file)
@@ -864,7 +864,6 @@ static int transaction_setup_recovery(struct tdb_context *tdb,
 int tdb_transaction_prepare_commit(struct tdb_context *tdb)
 {      
        const struct tdb_methods *methods;
 int tdb_transaction_prepare_commit(struct tdb_context *tdb)
 {      
        const struct tdb_methods *methods;
-       int i;
 
        if (tdb->transaction == NULL) {
                TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_transaction_prepare_commit: no transaction\n"));
 
        if (tdb->transaction == NULL) {
                TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_transaction_prepare_commit: no transaction\n"));