diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c index 8ea6af3cc..4cac46d6b 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");