summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-10 18:09:12 +0100
committerVolker Lendecke <vl@samba.org>2009-02-10 18:29:34 +0100
commit77e3272092d58f852955327e7c335ce5ee15f52f (patch)
tree528e2ef09a08db35d5c4e409c6ef5b6f69532d68 /source3
parentbbb665501a3235cfb63143d2a1945360252ba493 (diff)
downloadsamba-77e3272092d58f852955327e7c335ce5ee15f52f.tar.gz
samba-77e3272092d58f852955327e7c335ce5ee15f52f.tar.bz2
samba-77e3272092d58f852955327e7c335ce5ee15f52f.zip
Fix an uninitialized variable. Tim, please check!
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/brlock.c2
1 files changed, 1 insertions, 1 deletions
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)) {