mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-25 16:46:52 +02:00
gthread-win32: Remove an unnecessary volatile qualifier
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
9784f31527
commit
ee867a3c63
@ -617,7 +617,7 @@ g_thread_win32_load_library (void)
|
|||||||
{
|
{
|
||||||
/* FIXME: Add support for UWP app */
|
/* FIXME: Add support for UWP app */
|
||||||
#if !defined(G_WINAPI_ONLY_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))
|
if (g_once_init_enter (&_init_once))
|
||||||
{
|
{
|
||||||
kernel32_module = LoadLibraryW (L"kernel32.dll");
|
kernel32_module = LoadLibraryW (L"kernel32.dll");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user