Port from SAMBA tdb: commit 42c0931441ef53a3f977e1334355fa83f05ac184 Author: Tim...
[metze/ctdb/wip.git] / lib / tdb / common / transaction.c
index c5be9f842b8701de777cf3e183901dcc31530a10..6abe5ac3707cd39a803ebda3fd983c4f1c90f835 100644 (file)
@@ -875,7 +875,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 i;
 
        if (tdb->transaction == NULL) {
                TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_transaction_prepare_commit: no transaction\n"));