git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8f68f
)
Remove an unused variable
author
Volker Lendecke
<vl@samba.org>
Mon, 22 Aug 2011 14:39:32 +0000
(16:39 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 22 Aug 2011 15:11:07 +0000
(17:11 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
common/ctdb_ltdb.c
patch
|
blob
|
history
diff --git
a/common/ctdb_ltdb.c
b/common/ctdb_ltdb.c
index 3ee7fe83143e406b220ae7374cbbbdab2ad9dfb9..0dc8711c7d82c111224e0d66f070f0c52a311d9e 100644
(file)
--- a/
common/ctdb_ltdb.c
+++ b/
common/ctdb_ltdb.c
@@
-206,8
+206,6
@@
int ctdb_ltdb_unlock(struct ctdb_db_context *ctdb_db, TDB_DATA key)
*/
int ctdb_ltdb_delete(struct ctdb_db_context *ctdb_db, TDB_DATA key)
{
- struct ctdb_context *ctdb = ctdb_db->ctdb;
-
if (ctdb_db->persistent != 0) {
DEBUG(DEBUG_ERR,("Trying to delete emty record in persistent database\n"));
return 0;