[glib/glib-2-70: 1/2] gthread-win32: Remove an unnecessary volatile qualifier
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-70: 1/2] gthread-win32: Remove an unnecessary volatile qualifier
- Date: Mon, 1 Nov 2021 12:36:25 +0000 (UTC)
commit 66a195bb786ff088da7fc6b2eabbdff5f3889dea
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Oct 21 12:01:33 2021 +0100
gthread-win32: Remove an unnecessary volatile qualifier
Signed-off-by: Philip Withnall <pwithnall endlessos org>
glib/gthread-win32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c
index 79e397820..c6ba122db 100644
--- a/glib/gthread-win32.c
+++ b/glib/gthread-win32.c
@@ -617,7 +617,7 @@ g_thread_win32_load_library (void)
{
/* FIXME: Add support for UWP app */
#if !defined(G_WINAPI_ONLY_APP)
- static volatile gsize _init_once = 0;
+ static gsize _init_once = 0;
if (g_once_init_enter (&_init_once))
{
kernel32_module = LoadLibraryW (L"kernel32.dll");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]