summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-23 11:51:43 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-25 07:54:25 +0100
commit5dc8d3ed8b5a5e263a74f880f6fb1d88d27bd5c6 (patch)
tree425ba540443e707f512df3647d25a719f0e86bd6
parenta64bd41601b9b50075e95ca50510f04cd2bb8454 (diff)
downloadsamba-5dc8d3ed8b5a5e263a74f880f6fb1d88d27bd5c6.tar.gz
samba-5dc8d3ed8b5a5e263a74f880f6fb1d88d27bd5c6.tar.bz2
samba-5dc8d3ed8b5a5e263a74f880f6fb1d88d27bd5c6.zip
RAW-OPLOCK: remove unused var
(This used to be commit 6820da44828172769d9fdfa161acf762e3937a88)
-rw-r--r--source4/torture/raw/oplock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c
index 5ece01c505..3edd0c6820 100644
--- a/source4/torture/raw/oplock.c
+++ b/source4/torture/raw/oplock.c
@@ -1058,7 +1058,7 @@ static bool test_raw_oplock_batch12(struct torture_context *tctx, struct smbcli_
bool ret = true;
union smb_open io;
union smb_setfileinfo sfi;
- uint16_t fnum=0, fnum2=0;
+ uint16_t fnum=0;
if (!torture_setup_dir(cli1, BASEDIR)) {
return false;
@@ -1118,7 +1118,6 @@ static bool test_raw_oplock_batch12(struct torture_context *tctx, struct smbcli_
CHECK_VAL(break_info.level, 0);
smbcli_close(cli1->tree, fnum);
- smbcli_close(cli2->tree, fnum2);
done:
smb_raw_exit(cli1->session);