summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/Makefile.in2
-rw-r--r--source3/smbd/oplock.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 15d22d8fa5..6c182a6e41 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -577,7 +577,7 @@ CUPS_OBJ = client/smbspool.o $(PARAM_OBJ) $(LIBSMB_OBJ) \
MOUNT_OBJ = client/smbmount.o \
$(PARAM_OBJ) $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) $(LIB_NONSMBD_OBJ) $(SECRETS_OBJ)
-MNT_OBJ = client/smbmnt.o $(VERSION_OBJ) $(SNPRINTF_OBJ)
+MNT_OBJ = client/smbmnt.o lib/replace.o $(VERSION_OBJ) $(SNPRINTF_OBJ)
UMOUNT_OBJ = client/smbumount.o
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 86f5e1a47c..755bcffc7f 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -414,7 +414,6 @@ static void process_oplock_async_level2_break_message(int msg_type, struct proce
struct share_mode_entry msg;
files_struct *fsp;
char *break_msg;
- BOOL break_to_level2 = False;
BOOL sign_state;
if (buf == NULL) {