diff options
author | Michael Adam <obnox@samba.org> | 2012-09-11 16:26:44 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-09-11 20:10:07 +0200 |
commit | c960e55fbfbc12f85447af04778a7ac5888d499d (patch) | |
tree | 4f5a7eaaafddbf764d8f276014fb3f9413184c8d /source4/torture/smb2 | |
parent | 7c6f1fb294635f25e5e70592f37871902c7525ca (diff) | |
download | samba-c960e55fbfbc12f85447af04778a7ac5888d499d.tar.gz samba-c960e55fbfbc12f85447af04778a7ac5888d499d.tar.bz2 samba-c960e55fbfbc12f85447af04778a7ac5888d499d.zip |
s4:torture:smb2: remove an unused variable from the oplock-exclusive2 test
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r-- | source4/torture/smb2/oplock.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/torture/smb2/oplock.c b/source4/torture/smb2/oplock.c index 7e0ea7d2e0..ebf24ad6ff 100644 --- a/source4/torture/smb2/oplock.c +++ b/source4/torture/smb2/oplock.c @@ -432,7 +432,6 @@ static bool test_smb2_oplock_exclusive2(struct torture_context *tctx, NTSTATUS status; bool ret = true; union smb_open io; - union smb_unlink unl; struct smb2_handle h, h1, h2; status = torture_smb2_testdir(tree1, BASEDIR, &h); @@ -487,8 +486,6 @@ static bool test_smb2_oplock_exclusive2(struct torture_context *tctx, /* now we have 2 level II oplocks... */ torture_comment(tctx, "try to unlink it - should cause a break\n"); - unl.unlink.in.pattern = fname; - unl.unlink.in.attrib = 0; status = smb2_util_unlink(tree2, fname); torture_assert_ntstatus_ok(tctx, status, "Error unlinking the file"); torture_wait_for_oplock_break(tctx); |