1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

ntvfs: Fix Coverity ID 240792 Uninitialized scalar variable

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2024-11-14 21:07:30 +01:00 committed by Ralph Boehme
parent ceb6112b6f
commit 644a44656c

View File

@ -253,7 +253,7 @@ static NTSTATUS rap_push_string(struct ndr_push *data_push,
static NTSTATUS _rap_netshareenum(struct rap_call *call)
{
struct rap_NetShareEnum r;
struct rap_NetShareEnum r = {};
NTSTATUS result;
uint32_t offset_save = 0;
struct rap_heap_save heap_save = {0};