Author: jra
Date: 2006-03-12 04:25:35 +0000 (Sun, 12 Mar 2006)
New Revision: 14231

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14231

Log:
Shut the compiler up. It's wrong...
Jeremy.

Modified:
   trunk/source/locking/brlock.c


Changeset:
Modified: trunk/source/locking/brlock.c
===================================================================
--- trunk/source/locking/brlock.c       2006-03-12 04:19:01 UTC (rev 14230)
+++ trunk/source/locking/brlock.c       2006-03-12 04:25:35 UTC (rev 14231)
@@ -752,7 +752,7 @@
 static BOOL brl_unlock_windows(struct byte_range_lock *br_lck, const struct 
lock_struct *plock)
 {
        unsigned int i, j;
-       struct lock_struct *lock;
+       struct lock_struct *lock = NULL;
        struct lock_struct *locks = (struct lock_struct *)br_lck->lock_data;
 
 #if ZERO_ZERO
@@ -850,7 +850,7 @@
 static BOOL brl_unlock_posix(struct byte_range_lock *br_lck, const struct 
lock_struct *plock)
 {
        unsigned int i, j, count;
-       struct lock_struct *lock;
+       struct lock_struct *lock = NULL;
        struct lock_struct *tp;
        struct lock_struct *locks = (struct lock_struct *)br_lck->lock_data;
        BOOL overlap_found = False;

Reply via email to