From 742496d2522ed4a53ce087adc4813331dbc75320 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 27 Mar 2009 13:25:26 +0100 Subject: [PATCH] s4:torture/smb2: fix compiler warnings and bugs metze --- source4/torture/smb2/durable_open.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source4/torture/smb2/durable_open.c b/source4/torture/smb2/durable_open.c index f34dfc4ac1f..9cc25e3408f 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; } -- 2.34.1