1
0
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:
Volker Lendecke
2009-02-10 18:09:12 +01:00
parent bbb665501a
commit 77e3272092

View File

@ -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)) {