diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-27 13:25:26 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-27 13:26:50 +0100 |
commit | 742496d2522ed4a53ce087adc4813331dbc75320 (patch) | |
tree | 71101b23de0620facc4d9a951509a3660dec39f4 /source4 | |
parent | 5c9e90eb7e7346c2af3bdc15228f97055ed5d1d6 (diff) | |
download | samba-742496d2522ed4a53ce087adc4813331dbc75320.tar.gz samba-742496d2522ed4a53ce087adc4813331dbc75320.tar.bz2 samba-742496d2522ed4a53ce087adc4813331dbc75320.zip |
s4:torture/smb2: fix compiler warnings and bugs
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/smb2/durable_open.c | 4 |
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; } |