git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6ecf59
)
RAW-OPLOCK: remove unused var
author
Stefan Metzmacher
<metze@samba.org>
Sat, 23 Feb 2008 10:51:43 +0000
(11:51 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 25 Feb 2008 06:54:25 +0000
(07:54 +0100)
source/torture/raw/oplock.c
patch
|
blob
|
history
diff --git
a/source/torture/raw/oplock.c
b/source/torture/raw/oplock.c
index 5ece01c505518955890440d03a74d967068d3f21..3edd0c68205f19e24b3f0fdb6ca19f947214d856 100644
(file)
--- a/
source/torture/raw/oplock.c
+++ b/
source/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);