mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: Remove a pointless memset
We are assigning the complete structure now (we used to assign individual fields), so this is obsolete.
This commit is contained in:
parent
f0a933d140
commit
91ccaa87da
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user