From c5260e733c417642a30a59ebe46ed60b8ef18f6c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 12 Oct 2005 21:42:03 +0000 Subject: r10943: Unused variable. Bug #3160 from jason@ncac.gwu.edu Jeremy. (This used to be commit 5647a5d4b0b7e9083963bfe899e9e0f348ec8bf2) --- source3/smbd/open.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/smbd/open.c') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index fac3925b10..70687ff580 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. */ -- cgit