summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-20 15:58:55 +0100
committerVolker Lendecke <vl@samba.org>2010-12-20 17:10:57 +0100
commit09cccee27302044dd2fa3e94c60bf7854c4d2e45 (patch)
tree76a3c2c56cadfe63bf69cef01f3a0e8bedc6f6c9 /source3/torture
parent9dce43a809eae4b44bf1e2b301844a0753c037e9 (diff)
downloadsamba-09cccee27302044dd2fa3e94c60bf7854c4d2e45.tar.gz
samba-09cccee27302044dd2fa3e94c60bf7854c4d2e45.tar.bz2
samba-09cccee27302044dd2fa3e94c60bf7854c4d2e45.zip
s3: Remove some unused variables
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 7821f0eaf4..32c2a61434 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -398,7 +398,6 @@ static bool torture_open_connection_share(struct cli_state **c,
const char *hostname,
const char *sharename)
{
- bool retry;
int flags = 0;
NTSTATUS status;
@@ -413,7 +412,7 @@ static bool torture_open_connection_share(struct cli_state **c,
hostname, NULL, port_to_use,
sharename, "?????",
username, workgroup,
- password, flags, signing_state, &retry);
+ password, flags, signing_state, NULL);
if (!NT_STATUS_IS_OK(status)) {
printf("failed to open share connection: //%s/%s port:%d - %s\n",
hostname, sharename, port_to_use, nt_errstr(status));
@@ -1454,7 +1453,6 @@ static bool tcon_devtest(struct cli_state *cli,
static bool run_tcon_devtype_test(int dummy)
{
static struct cli_state *cli1 = NULL;
- bool retry;
int flags = 0;
NTSTATUS status;
bool ret = True;
@@ -1463,7 +1461,7 @@ static bool run_tcon_devtype_test(int dummy)
host, NULL, port_to_use,
NULL, NULL,
username, workgroup,
- password, flags, signing_state, &retry);
+ password, flags, signing_state, NULL);
if (!NT_STATUS_IS_OK(status)) {
printf("could not open connection\n");