svn commit: samba r10944 - in trunk/source/smbd: .
jra at samba.org
jra at samba.org
Wed Oct 12 21:42:12 GMT 2005
Author: jra
Date: 2005-10-12 21:42:11 +0000 (Wed, 12 Oct 2005)
New Revision: 10944
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10944
Log:
Unused variable. Bug #3160 from jason at ncac.gwu.edu
Jeremy.
Modified:
trunk/source/smbd/open.c
Changeset:
Modified: trunk/source/smbd/open.c
===================================================================
--- trunk/source/smbd/open.c 2005-10-12 21:42:03 UTC (rev 10943)
+++ trunk/source/smbd/open.c 2005-10-12 21:42:11 UTC (rev 10944)
@@ -628,7 +628,7 @@
static BOOL delay_for_oplocks(struct share_mode_lock *lck, files_struct *fsp)
{
- int i, num_level2;
+ int i;
struct share_mode_entry *exclusive = NULL;
BOOL delay_it = False;
BOOL have_level2 = False;
@@ -638,8 +638,6 @@
return False;
}
- num_level2 = 0;
-
if (lck->num_share_modes == 0) {
/* No files open at all: Directly grant whatever the client
* wants. */
More information about the samba-cvs
mailing list