diff options
author | Jeremy Allison <jra@samba.org> | 2005-10-12 21:42:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:04:57 -0500 |
commit | c5260e733c417642a30a59ebe46ed60b8ef18f6c (patch) | |
tree | df2a4b3d8ae603180eb174ccaa4736c9b4b7a0c5 /source3 | |
parent | e38768333b3d2ee256c058c9fd5270c1891bbe77 (diff) | |
download | samba-c5260e733c417642a30a59ebe46ed60b8ef18f6c.tar.gz samba-c5260e733c417642a30a59ebe46ed60b8ef18f6c.tar.xz samba-c5260e733c417642a30a59ebe46ed60b8ef18f6c.zip |
r10943: Unused variable. Bug #3160 from jason@ncac.gwu.edu
Jeremy.
(This used to be commit 5647a5d4b0b7e9083963bfe899e9e0f348ec8bf2)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index fac3925b100..70687ff5805 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -628,7 +628,7 @@ static BOOL is_delete_request(files_struct *fsp) { 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 @@ static BOOL delay_for_oplocks(struct share_mode_lock *lck, files_struct *fsp) return False; } - num_level2 = 0; - if (lck->num_share_modes == 0) { /* No files open at all: Directly grant whatever the client * wants. */ |