Remove an unused variable
authorVolker Lendecke <vl@samba.org>
Mon, 22 Aug 2011 14:39:32 +0000 (16:39 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 22 Aug 2011 15:11:07 +0000 (17:11 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
common/ctdb_ltdb.c

index 3ee7fe83143e406b220ae7374cbbbdab2ad9dfb9..0dc8711c7d82c111224e0d66f070f0c52a311d9e 100644 (file)
@@ -206,8 +206,6 @@ int ctdb_ltdb_unlock(struct ctdb_db_context *ctdb_db, TDB_DATA key)
 */
 int ctdb_ltdb_delete(struct ctdb_db_context *ctdb_db, TDB_DATA key)
 {
-       struct ctdb_context *ctdb = ctdb_db->ctdb;
-
        if (ctdb_db->persistent != 0) {
                DEBUG(DEBUG_ERR,("Trying to delete emty record in persistent database\n"));
                return 0;