From: Günther Deschner Date: Tue, 11 May 2010 11:40:12 +0000 (+0200) Subject: tdb: remove unused variable in tdb_new_database(). X-Git-Tag: samba-3.6.0pre1~2096 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eab1d7fdcb54f9ec27431ca4858eb64cb1bd835;p=thirdparty%2Fsamba.git tdb: remove unused variable in tdb_new_database(). Guenther --- diff --git a/lib/tdb/common/open.c b/lib/tdb/common/open.c index 3ff6b17c034..7687ff6e32a 100644 --- a/lib/tdb/common/open.c +++ b/lib/tdb/common/open.c @@ -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);