From: Gerald Pfeifer gerald@pfeifer.com
This avoids the following warning by GCC 13: dlls/msado15/recordset.c:790:32: warning: 'i' may be used uninitialized --- dlls/msado15/recordset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msado15/recordset.c b/dlls/msado15/recordset.c index 177938af2f7..aa2db6e2968 100644 --- a/dlls/msado15/recordset.c +++ b/dlls/msado15/recordset.c @@ -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 );