From: Volker Lendecke Date: Tue, 28 May 2024 12:52:25 +0000 (+0200) Subject: torture: Remove some pointless local variables X-Git-Tag: tdb-1.4.11~494 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9445d8e06e8b8bb25ddb55ae045c51c56f3210cf;p=thirdparty%2Fsamba.git torture: Remove some pointless local variables Signed-off-by: Volker Lendecke Reviewed-by: Andrew Bartlett --- diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index 7586bbde44d..cb01648aa58 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -179,10 +179,6 @@ static struct cli_state *connect_one(char *share) fstring myname; static int count; NTSTATUS nt_status; - bool use_kerberos = false; - bool fallback_after_kerberos = false; - bool use_ccache = false; - bool pw_nt_hash = false; struct cli_credentials *creds = NULL; fstrcpy(server,share+2); @@ -208,10 +204,10 @@ static struct cli_state *connect_one(char *share) lp_workgroup(), NULL, /* realm (use default) */ password, - use_kerberos, - fallback_after_kerberos, - use_ccache, - pw_nt_hash); + false, /* use_kerberos */ + false, /* fallback_after_kerberos */ + false, /* use_ccache */ + false); /* pw_nt_hash */ if (creds == NULL) { DEBUG(0, ("cli_session_creds_init failed\n")); return NULL;