git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ba0e5
)
tdb: remove unused variable in tdb_new_database().
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 16 Aug 2010 00:42:02 +0000
(10:12 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 16 Aug 2010 00:50:53 +0000
(10:20 +0930)
(Imported from SAMBA
2eab1d7fdcb54f9ec27431ca4858eb64cb1bd835
)
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);