summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-20 17:35:25 +0100
committerVolker Lendecke <vl@samba.org>2008-01-20 17:44:40 +0100
commit33f3eeaa00974860dfc45962d5fd34cf05396c76 (patch)
treed826c4af466796b6adf665a6e6d66597aee50131 /source3/locking
parentb1017bb551fd28d2f9562acb1ff7f0dde933417a (diff)
downloadsamba-33f3eeaa00974860dfc45962d5fd34cf05396c76.tar.gz
samba-33f3eeaa00974860dfc45962d5fd34cf05396c76.tar.bz2
samba-33f3eeaa00974860dfc45962d5fd34cf05396c76.zip
Fix some "set but never used" warnings
(This used to be commit 4a6dadc5178f4861e9c032321939db3b639734b5)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 4191871bb1..341d00f3fe 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -1539,11 +1539,6 @@ int brl_forall(void (*fn)(struct file_id id, struct server_id pid,
static int byte_range_lock_destructor(struct byte_range_lock *br_lck)
{
- TDB_DATA key;
-
- key.dptr = (uint8 *)&br_lck->key;
- key.dsize = sizeof(struct file_id);
-
if (br_lck->read_only) {
SMB_ASSERT(!br_lck->modified);
}