From 77e3272092d58f852955327e7c335ce5ee15f52f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 10 Feb 2009 18:09:12 +0100 Subject: Fix an uninitialized variable. Tim, please check! --- source3/locking/brlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index 76496d11fb..edba4ed30a 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -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)) { -- cgit