From: Joseph Sutton Date: Mon, 30 Oct 2023 22:17:55 +0000 (+1300) Subject: s3:utils: Remove unused‐but‐set variable X-Git-Tag: talloc-2.4.2~882 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7322bb309828f2b78abf190d4ff4a8688fe80ed0;p=thirdparty%2Fsamba.git s3:utils: Remove unused‐but‐set variable Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source3/utils/wspsearch.c b/source3/utils/wspsearch.c index aa088f7c13a..2f9b20471e4 100644 --- a/source3/utils/wspsearch.c +++ b/source3/utils/wspsearch.c @@ -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); }