diff options
author | Jeremy Allison <jra@samba.org> | 2017-05-09 16:28:53 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-05-12 00:37:29 +0200 |
commit | 91852dd0816a745f501b765a556b5985521c8119 (patch) | |
tree | 0713cf045dbadeb155433bbbef7e1a6870887785 /source4/torture/vfs | |
parent | 4039e51a6fdb476d9865df74dfccf7a020ead141 (diff) | |
download | samba-91852dd0816a745f501b765a556b5985521c8119.tar.gz |
s4: torture: Remove use of local variables that are simply mirroring popt_get_cmdline_credentials().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 12 00:37:29 CEST 2017 on sn-devel-144
Diffstat (limited to 'source4/torture/vfs')
-rw-r--r-- | source4/torture/vfs/acl_xattr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/vfs/acl_xattr.c b/source4/torture/vfs/acl_xattr.c index b043d7660f4..9024c33980f 100644 --- a/source4/torture/vfs/acl_xattr.c +++ b/source4/torture/vfs/acl_xattr.c @@ -57,7 +57,6 @@ static bool torture_smb2_con_share(struct torture_context *tctx, struct smbcli_options options; NTSTATUS status; const char *host = torture_setting_string(tctx, "host", NULL); - struct cli_credentials *credentials = popt_get_cmdline_credentials(); lpcfg_smbcli_options(tctx->lp_ctx, &options); @@ -66,7 +65,7 @@ static bool torture_smb2_con_share(struct torture_context *tctx, lpcfg_smb_ports(tctx->lp_ctx), share, lpcfg_resolve_context(tctx->lp_ctx), - credentials, + popt_get_cmdline_credentials(), 0, tree, tctx->ev, |