summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-11 16:25:50 +0200
committerMichael Adam <obnox@samba.org>2012-09-11 20:10:07 +0200
commit7c6f1fb294635f25e5e70592f37871902c7525ca (patch)
tree06810afa13c824f9a90c63a95babf6325413b2cf
parent7c1fd74ba5261aa447c54872e49b374b543b1831 (diff)
downloadsamba-7c6f1fb294635f25e5e70592f37871902c7525ca.tar.gz
samba-7c6f1fb294635f25e5e70592f37871902c7525ca.tar.bz2
samba-7c6f1fb294635f25e5e70592f37871902c7525ca.zip
s4:torture:smb2: remove an unused variable from the oplock-exclusive1 test
-rw-r--r--source4/torture/smb2/oplock.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/torture/smb2/oplock.c b/source4/torture/smb2/oplock.c
index d489943986..7e0ea7d2e0 100644
--- a/source4/torture/smb2/oplock.c
+++ b/source4/torture/smb2/oplock.c
@@ -364,7 +364,6 @@ static bool test_smb2_oplock_exclusive1(struct torture_context *tctx,
NTSTATUS status;
bool ret = true;
union smb_open io;
- union smb_unlink unl;
struct smb2_handle h1;
struct smb2_handle h;
@@ -411,8 +410,6 @@ static bool test_smb2_oplock_exclusive1(struct torture_context *tctx,
CHECK_VAL(break_info.failures, 0);
torture_comment(tctx, "unlink it - should also be no break\n");
- unl.unlink.in.pattern = fname;
- unl.unlink.in.attrib = 0;
status = smb2_util_unlink(tree2, fname);
torture_assert_ntstatus_equal(tctx, status, NT_STATUS_SHARING_VIOLATION,
"Incorrect status");