git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7200c25
)
tdb: remove unused variable in tdb_new_database().
author
Günther Deschner
<gd@samba.org>
Tue, 11 May 2010 11:40:12 +0000
(13:40 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 11 May 2010 11:41:17 +0000
(13:41 +0200)
Guenther
lib/tdb/common/open.c
patch
|
blob
|
history
diff --git
a/lib/tdb/common/open.c
b/lib/tdb/common/open.c
index 3ff6b17c03493980eefe086d57af87badb6a7849..7687ff6e32a1c38bf76d9cd988dd23134bd684b6 100644
(file)
--- 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);