]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:utils: Remove unused‐but‐set variable
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 30 Oct 2023 22:17:55 +0000 (11:17 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 2 Nov 2023 03:08:37 +0000 (03:08 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/utils/wspsearch.c

index aa088f7c13afd0c94034c64466395569e6f536fe..2f9b20471e4b1c975df9aefc6279d79ae5255081 100644 (file)
@@ -350,7 +350,6 @@ static NTSTATUS create_getrows(TALLOC_CTX *ctx,
        uint32_t INITIAL_ROWS = 32;
        uint32_t requested_rows = INITIAL_ROWS;
        uint32_t rows_printed;
-       uint32_t current_row = 0;
        TALLOC_CTX *row_ctx;
        bool loop_again;
 
@@ -426,7 +425,6 @@ static NTSTATUS create_getrows(TALLOC_CTX *ctx,
                        if (!NT_STATUS_IS_OK(status)) {
                                goto out;
                        }
-                       current_row += rows_printed;
                        data_blob_free(&unread);
                }