summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/oplock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/smb2/oplock.c b/source4/torture/smb2/oplock.c
index 00cf7b5c3d..fc939cc06d 100644
--- a/source4/torture/smb2/oplock.c
+++ b/source4/torture/smb2/oplock.c
@@ -3190,7 +3190,6 @@ static bool test_smb2_oplock_brl3(struct torture_context *tctx, struct smb2_tree
const char *fname = BASEDIR "\\test_batch_brl.dat";
bool ret = true;
uint8_t buf[1000];
- bool correct = true;
union smb_open io;
NTSTATUS status;
struct smb2_handle h, h1, h2;
@@ -3241,7 +3240,7 @@ static bool test_smb2_oplock_brl3(struct torture_context *tctx, struct smb2_tree
if (!NT_STATUS_EQUAL(status, NT_STATUS_OK)) {
torture_comment(tctx, "Failed to create file\n");
- correct = false;
+ ret = false;
goto done;
}