git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b92993
)
s4:torture:smb2: remove an unused variable from torture_smb2_setinfo()
author
Michael Adam
<obnox@samba.org>
Thu, 2 Feb 2012 14:42:16 +0000
(15:42 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 3 Feb 2012 10:10:29 +0000
(11:10 +0100)
source4/torture/smb2/setinfo.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/setinfo.c
b/source4/torture/smb2/setinfo.c
index 734cf1fa777790b22b9bfeab10f514d5855c1969..fb012eeb2f025f06127f5bfc37811de2139ac2e9 100644
(file)
--- a/
source4/torture/smb2/setinfo.c
+++ b/
source4/torture/smb2/setinfo.c
@@
-51,7
+51,6
@@
bool torture_smb2_setinfo(struct torture_context *tctx)
bool ret = true;
struct smb2_handle handle;
char *fname;
- char *fname_new;
union smb_fileinfo finfo2;
union smb_setfileinfo sfinfo;
struct security_ace ace;
@@
-65,7
+64,6
@@
bool torture_smb2_setinfo(struct torture_context *tctx)
ZERO_STRUCT(handle);
fname = talloc_asprintf(tctx, BASEDIR "fnum_test_%d.txt", n);
- fname_new = talloc_asprintf(tctx, BASEDIR "fnum_test_new_%d.txt", n);
if (!torture_smb2_connection(tctx, &tree)) {
return false;