summaryrefslogtreecommitdiffstats
path: root/source/smbd/open.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-06-14 12:00:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:26 -0500
commit6c1f1c091f5e87bf9464fe8ad7eb2cb683819a62 (patch)
treed1cba70f7413ba352383a6316ee08cb3c097516c /source/smbd/open.c
parente6aacb1426bd04c4006f7be66228f9f8d9a7065d (diff)
downloadsamba-6c1f1c091f5e87bf9464fe8ad7eb2cb683819a62.tar.gz
samba-6c1f1c091f5e87bf9464fe8ad7eb2cb683819a62.tar.xz
samba-6c1f1c091f5e87bf9464fe8ad7eb2cb683819a62.zip
r16219: BUG 3836, 3837, 3004: compile warning fixes from Jason Mader.
Diffstat (limited to 'source/smbd/open.c')
-rw-r--r--source/smbd/open.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c
index 821feffd65c..2e4091d937e 100644
--- a/source/smbd/open.c
+++ b/source/smbd/open.c
@@ -1107,7 +1107,6 @@ files_struct *open_file_ntcreate(connection_struct *conn,
uint32 existing_dos_attributes = 0;
struct pending_message_list *pml = NULL;
uint16 mid = get_current_mid();
- BOOL delayed_for_oplocks = False;
struct timeval request_time = timeval_zero();
struct share_mode_lock *lck = NULL;
NTSTATUS status;
@@ -1148,7 +1147,6 @@ files_struct *open_file_ntcreate(connection_struct *conn,
see if this has timed out. */
request_time = pml->request_time;
- delayed_for_oplocks = state->delayed_for_oplocks;
/* Remove the deferred open entry under lock. */
lck = get_share_mode_lock(NULL, state->dev, state->inode, NULL, NULL);