]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
torture3: Avoid unused variables
authorVolker Lendecke <vl@samba.org>
Mon, 21 Aug 2023 10:45:52 +0000 (12:45 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 22 Aug 2023 16:45:31 +0000 (16:45 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/torture/torture.c

index 2a8b8dec22f137ced05da31e6828ddfed4fa5fea..6904e07f4e4317d63537c7f38f60ad1a51a6c140 100644 (file)
@@ -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));