summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-21 02:51:34 +0200
committerJeremy Allison <jra@samba.org>2013-09-21 08:00:02 +0200
commitd5eb3b225cf5815f703431e5b87c31b06a3ddfc2 (patch)
treecf19a4b7b406763b181b0f00393e7c1f42bb327b /source4/torture
parentf33c1c89eeed8bb9c239db12b9adb27760ddb2f9 (diff)
downloadsamba-d5eb3b225cf5815f703431e5b87c31b06a3ddfc2.tar.gz
samba-d5eb3b225cf5815f703431e5b87c31b06a3ddfc2.tar.bz2
samba-d5eb3b225cf5815f703431e5b87c31b06a3ddfc2.zip
s4:torture: remove and useless variable and assignment in smb2.session.reauth5
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Sep 21 08:00:02 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/session.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/smb2/session.c b/source4/torture/smb2/session.c
index 6901f47300..3d7243380c 100644
--- a/source4/torture/smb2/session.c
+++ b/source4/torture/smb2/session.c
@@ -591,7 +591,7 @@ bool test_session_reauth5(struct torture_context *tctx, struct smb2_tree *tree)
| SECINFO_DACL
| SECINFO_PROTECTED_DACL
| SECINFO_UNPROTECTED_DACL;
- struct security_descriptor *f_sd1, *f_sd2;
+ struct security_descriptor *f_sd1;
struct security_descriptor *d_sd1 = NULL;
struct security_ace ace;
struct dom_sid *extra_sid;
@@ -836,8 +836,6 @@ bool test_session_reauth5(struct torture_context *tctx, struct smb2_tree *tree)
status = smb2_getinfo_file(tree, mem_ctx, &qfinfo);
CHECK_STATUS(status, NT_STATUS_OK);
- f_sd2 = qfinfo.query_secdesc.out.sd;
-
done:
if (dh1 != NULL) {
smb2_util_close(tree, *dh1);