diff options
-rw-r--r-- | source3/locking/brlock.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index d3f5e61f7d..b021293c7b 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -1810,7 +1810,6 @@ static struct byte_range_lock *brl_get_locks_internal(TALLOC_CTX *mem_ctx, br_lck->fsp = fsp; br_lck->num_locks = 0; br_lck->modified = False; - memset(&br_lck->key, '\0', sizeof(struct file_id)); br_lck->key = fsp->file_id; key.dptr = (uint8 *)&br_lck->key; |