tdb: remove unused variable in tdb_new_database().
authorGünther Deschner <gd@samba.org>
Tue, 11 May 2010 11:40:12 +0000 (13:40 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 11 May 2010 11:41:17 +0000 (13:41 +0200)
Guenther

lib/tdb/common/open.c

index 3ff6b17c03493980eefe086d57af87badb6a7849..7687ff6e32a1c38bf76d9cd988dd23134bd684b6 100644 (file)
@@ -51,7 +51,6 @@ static int tdb_new_database(struct tdb_context *tdb, int hash_size)
        struct tdb_header *newdb;
        size_t size;
        int ret = -1;
-       ssize_t written;
 
        /* We make it up in memory, then write it out if not internal */
        size = sizeof(struct tdb_header) + (hash_size+1)*sizeof(tdb_off_t);