summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/setfileinfo.c1
-rw-r--r--source4/torture/rpc/samr.c1
-rw-r--r--source4/torture/smb2/create.c2
3 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c
index 8b540b2b61..5d7cb05b79 100644
--- a/source4/torture/raw/setfileinfo.c
+++ b/source4/torture/raw/setfileinfo.c
@@ -981,7 +981,6 @@ torture_raw_sfileinfo_archive(struct torture_context *tctx,
union smb_setfileinfo sfinfo;
union smb_fileinfo finfo;
uint16_t fnum=0;
- uint32_t access_mask = 0;
if (!torture_setup_dir(cli, BASEDIR)) {
return false;
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index bb451cf329..d40d162934 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -2705,7 +2705,6 @@ static bool test_GetAliasMembership(struct dcerpc_binding_handle *b,
struct samr_GetAliasMembership r;
struct lsa_SidArray sids;
struct samr_Ids rids;
- NTSTATUS status;
torture_comment(tctx, "Testing GetAliasMembership\n");
diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c
index b89b14af27..c573f25172 100644
--- a/source4/torture/smb2/create.c
+++ b/source4/torture/smb2/create.c
@@ -475,7 +475,7 @@ static bool test_create_acl_ext(struct torture_context *tctx, struct smb2_tree *
struct smb2_create io;
NTSTATUS status;
struct security_ace ace;
- struct security_descriptor *sd, *sd2;
+ struct security_descriptor *sd;
struct dom_sid *test_sid;
union smb_fileinfo q = {};
uint32_t attrib =