Herb's warning fixes. Also the POSIX locking fix.
[samba.git] / source3 / locking / posix.c
index 7bac1ffe37983439bf32b558bc82068237effd11..fbdcf662fc9e2f8bcb2de2436df01a3e79714e06 100644 (file)
@@ -408,7 +408,7 @@ static BOOL does_lock_overlap(SMB_OFF_T start1, SMB_OFF_T size1, SMB_OFF_T start
        if (start1 >= start2 && start1 <= start2 + size2)
                return True;
 
-       if (start1 < start2 && start1 + size1 > start2);
+       if (start1 < start2 && start1 + size1 > start2)
                return True;
 
        return False;