summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smb2/durable_open.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c
index f34dfc4ac1..9cc25e3408 100644
--- a/source4/torture/smb2/durable_open.c
+++ b/source4/torture/smb2/durable_open.c
@@ -190,7 +190,7 @@ bool test_durable_open_oplock(struct torture_context *tctx,
struct smb2_tree *tree2)
{
TALLOC_CTX *mem_ctx = talloc_new(tctx);
- struct smb2_create io1, io2, io3;
+ struct smb2_create io1, io2;
struct smb2_handle h1;
NTSTATUS status;
const char *fname = "durable_open_oplock.dat";
@@ -297,4 +297,6 @@ struct torture_suite *torture_smb2_durable_open_init(void)
torture_suite_add_2smb2_test(suite, "OPLOCK", test_durable_open_oplock);
suite->description = talloc_strdup(suite, "SMB2-DURABLE-OPEN tests");
+
+ return suite;
}