From 155657de3e3d6b801eaa51fcfb1bdd6f9f75aa60 Mon Sep 17 00:00:00 2001 From: Loic Le Page Date: Wed, 19 Jan 2022 18:52:05 +0100 Subject: [PATCH] Fix redefinition of local variable in gio/gwin32file-sync-stream.c --- gio/gwin32file-sync-stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gwin32file-sync-stream.c b/gio/gwin32file-sync-stream.c index bc3b60694..065f56cce 100755 --- a/gio/gwin32file-sync-stream.c +++ b/gio/gwin32file-sync-stream.c @@ -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);