1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

msado15: Avoid uninitialized variable warning in fields_get_Item.

This avoids the following warning by GCC 13:
dlls/msado15/recordset.c:790:32: warning: 'i' may be used uninitialized
This commit is contained in:
Gerald Pfeifer 2022-11-20 09:25:32 +00:00 committed by Alexandre Julliard
parent c0913c34ea
commit 66f6cc5965

View File

@ -781,7 +781,7 @@ static HRESULT WINAPI fields_get_Item( Fields *iface, VARIANT index, Field **obj
{
struct fields *fields = impl_from_Fields( iface );
HRESULT hr;
ULONG i;
ULONG i = 0;
TRACE( "%p, %s, %p\n", fields, debugstr_variant(&index), obj );