[glib: 4/10] Fix redefinition of local variable in gio/gwin32file-sync-stream.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 4/10] Fix redefinition of local variable in gio/gwin32file-sync-stream.c
- Date: Thu, 31 Mar 2022 23:36:39 +0000 (UTC)
commit 155657de3e3d6b801eaa51fcfb1bdd6f9f75aa60
Author: Loic Le Page <llepage fluendo com>
Date: Wed Jan 19 18:52:05 2022 +0100
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 bc3b606944..065f56ccea 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]