diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-21 17:33:04 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-21 17:37:42 +0100 |
commit | e406c17b2fce57fff112354df5f5bd1a4655b3d6 (patch) | |
tree | f4df1422eb15c08c613e980ad270b1e66815cbcc | |
parent | ec4936077878e7bcbf1addfdc69a9f737e9c98f3 (diff) | |
download | samba-e406c17b2fce57fff112354df5f5bd1a4655b3d6.tar.gz samba-e406c17b2fce57fff112354df5f5bd1a4655b3d6.tar.bz2 samba-e406c17b2fce57fff112354df5f5bd1a4655b3d6.zip |
s4:torture/smb2/oplock - Remove unneeded "status" redeclarations
-rw-r--r-- | source4/torture/smb2/oplock.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/torture/smb2/oplock.c b/source4/torture/smb2/oplock.c index f686de6a2f..12f16cb166 100644 --- a/source4/torture/smb2/oplock.c +++ b/source4/torture/smb2/oplock.c @@ -168,8 +168,6 @@ static bool torture_oplock_handler_level2_to_none( uint8_t level, void *private_data) { - struct smb2_tree *tree = private_data; - break_info.handle = *handle; break_info.level = level; break_info.count++; @@ -3467,8 +3465,6 @@ bool test_smb2_bench_oplock(struct torture_context *tctx, torture_comment(tctx, "Running for %d seconds\n", timelimit); while (timeval_elapsed(&tv) < timelimit) { for (i=0;i<torture_nprocs;i++) { - NTSTATUS status; - status = smb2_create(trees[i], mem_ctx, &(io.smb2)); torture_assert_ntstatus_ok(tctx, status, "Incorrect status"); count++; @@ -3565,7 +3561,6 @@ bool test_smb2_hold_oplock(struct torture_context *tctx, /* setup the files */ for (i=0;i<ARRAY_SIZE(hold_info);i++) { union smb_open io; - NTSTATUS status; char c = 1; ZERO_STRUCT(io.smb2); |