diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-04-06 14:32:27 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-04-06 14:54:11 +0200 |
commit | 5b824eb17bc11b2de8b2df9b9bc55db1d0e08df0 (patch) | |
tree | b9168bbb71d04c1d775e63df75b93dc9a5295a34 /source4 | |
parent | b7b464eeee96a57fb94c1f0899bfdb6639a70eb6 (diff) | |
download | samba-5b824eb17bc11b2de8b2df9b9bc55db1d0e08df0.tar.gz samba-5b824eb17bc11b2de8b2df9b9bc55db1d0e08df0.tar.bz2 samba-5b824eb17bc11b2de8b2df9b9bc55db1d0e08df0.zip |
s4:torture - remove unused variables
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/raw/setfileinfo.c | 1 | ||||
-rw-r--r-- | source4/torture/rpc/samr.c | 1 | ||||
-rw-r--r-- | source4/torture/smb2/create.c | 2 |
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 = |