summaryrefslogtreecommitdiff
path: root/source4/torture/raw/oplock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/raw/oplock.c')
-rw-r--r--source4/torture/raw/oplock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c
index bd43ef4751..de3d917fae 100644
--- a/source4/torture/raw/oplock.c
+++ b/source4/torture/raw/oplock.c
@@ -3824,7 +3824,6 @@ static bool test_raw_oplock_brl3(struct torture_context *tctx,
const char *fname = BASEDIR "\\test_batch_brl.dat";
bool ret = true;
uint8_t buf[1000];
- bool correct = true;
union smb_open io;
NTSTATUS status;
uint16_t fnum=0;
@@ -3877,7 +3876,7 @@ static bool test_raw_oplock_brl3(struct torture_context *tctx,
sizeof(buf))
{
torture_comment(tctx, "Failed to create file\n");
- correct = false;
+ ret = false;
goto done;
}