From d5eb3b225cf5815f703431e5b87c31b06a3ddfc2 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 21 Sep 2013 02:51:34 +0200 Subject: s4:torture: remove and useless variable and assignment in smb2.session.reauth5 Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Sep 21 08:00:02 CEST 2013 on sn-devel-104 --- source4/torture/smb2/session.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4') 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); -- cgit