From: Volker Lendecke Date: Mon, 21 Aug 2023 10:45:52 +0000 (+0200) Subject: torture3: Avoid unused variables X-Git-Tag: tevent-0.16.0~859 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0db32b457d10aa894e0b6aeb6e682ccaff7737a;p=thirdparty%2Fsamba.git torture3: Avoid unused variables Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 2a8b8dec22f..6904e07f4e4 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -10955,9 +10955,6 @@ static bool run_mangle1(int dummy) uint16_t fnum; fstring alt_name; NTSTATUS status; - time_t change_time, access_time, write_time; - off_t size; - uint32_t attr; printf("starting mangle1 test\n"); if (!torture_open_connection(&cli, 0)) { @@ -10991,8 +10988,7 @@ static bool run_mangle1(int dummy) } cli_close(cli, fnum); - status = cli_qpathinfo1(cli, alt_name, &change_time, &access_time, - &write_time, &size, &attr); + status = cli_qpathinfo1(cli, alt_name, NULL, NULL, NULL, NULL, NULL); if (!NT_STATUS_IS_OK(status)) { d_printf("cli_qpathinfo1(%s) failed: %s\n", alt_name, nt_errstr(status));