Commit 66f6cc59 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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
parent c0913c34
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment