mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3:utils: Initialize row variable in wspsearch
../../source3/utils/wspsearch.c:331:25: error: ‘row’ may be used uninitialized [-Werror=maybe-uninitialized] 331 | *rows_processed = row; | ~~~~~~~~~~~~~~~~^~~~~ Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
0bb67a3a7e
commit
a2a31519fb
@ -256,7 +256,7 @@ static NTSTATUS print_rowsreturned(
|
||||
uint32_t *rows_processed)
|
||||
{
|
||||
NTSTATUS status;
|
||||
int row;
|
||||
uint32_t row = 0;
|
||||
TALLOC_CTX *local_ctx = NULL;
|
||||
struct wsp_cbasestoragevariant **rowsarray = NULL;
|
||||
enum ndr_err_code err;
|
||||
|
Loading…
Reference in New Issue
Block a user