1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

s4:torture:smb2: remove an unused variable from the oplock-exclusive1 test

This commit is contained in:
Michael Adam 2012-09-11 16:25:50 +02:00
parent 7c1fd74ba5
commit 7c6f1fb294

View File

@ -364,7 +364,6 @@ static bool test_smb2_oplock_exclusive1(struct torture_context *tctx,
NTSTATUS status; NTSTATUS status;
bool ret = true; bool ret = true;
union smb_open io; union smb_open io;
union smb_unlink unl;
struct smb2_handle h1; struct smb2_handle h1;
struct smb2_handle h; struct smb2_handle h;
@ -411,8 +410,6 @@ static bool test_smb2_oplock_exclusive1(struct torture_context *tctx,
CHECK_VAL(break_info.failures, 0); CHECK_VAL(break_info.failures, 0);
torture_comment(tctx, "unlink it - should also be no break\n"); 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); status = smb2_util_unlink(tree2, fname);
torture_assert_ntstatus_equal(tctx, status, NT_STATUS_SHARING_VIOLATION, torture_assert_ntstatus_equal(tctx, status, NT_STATUS_SHARING_VIOLATION,
"Incorrect status"); "Incorrect status");