summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-11 13:40:12 +0200
committerGünther Deschner <gd@samba.org>2010-05-11 13:41:17 +0200
commit2eab1d7fdcb54f9ec27431ca4858eb64cb1bd835 (patch)
tree1371da969394f4cfe5d8ab7267a04400a89eb2bd /lib
parent7200c25646d1c34dd1ce723ab4fba3c40c89b6b0 (diff)
downloadsamba-2eab1d7fdcb54f9ec27431ca4858eb64cb1bd835.tar.gz
samba-2eab1d7fdcb54f9ec27431ca4858eb64cb1bd835.tar.bz2
samba-2eab1d7fdcb54f9ec27431ca4858eb64cb1bd835.zip
tdb: remove unused variable in tdb_new_database().
Guenther
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb/common/open.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tdb/common/open.c b/lib/tdb/common/open.c
index 3ff6b17c03..7687ff6e32 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);