mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
Fix an uninitialized variable. Tim, please check!
This commit is contained in:
@ -652,7 +652,7 @@ static NTSTATUS brl_lock_posix(struct messaging_context *msg_ctx,
|
||||
memcpy(&tp[count], curr_lock, sizeof(struct lock_struct));
|
||||
count++;
|
||||
} else {
|
||||
unsigned int tmp_count;
|
||||
unsigned int tmp_count = 0;
|
||||
|
||||
/* POSIX conflict semantics are different. */
|
||||
if (brl_conflict_posix(curr_lock, plock)) {
|
||||
|
Reference in New Issue
Block a user