Fix redefinition of local variable in gio/gwin32file-sync-stream.c

This commit is contained in:
Loic Le Page 2022-01-19 18:52:05 +01:00 committed by Philip Withnall
parent 704c65228f
commit 155657de3e

View File

@ -386,8 +386,8 @@ _file_sync_stream_stat (IStream *self_ptr,
if (buffer_size == 0)
{
DWORD error = GetLastError ();
return __HRESULT_FROM_WIN32 (error);
DWORD my_error = GetLastError ();
return __HRESULT_FROM_WIN32 (my_error);
}
buffer = CoTaskMemAlloc (buffer_size);