mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
gio: Drop unnecessary volatile qualifiers from internal variables
These variables were already (correctly) accessed atomically. The `volatile` qualifier doesn’t help with that. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #600
This commit is contained in:
@@ -61,7 +61,7 @@ void
|
||||
g_networking_init (void)
|
||||
{
|
||||
#ifdef G_OS_WIN32
|
||||
static volatile gsize inited = 0;
|
||||
static gsize inited = 0;
|
||||
|
||||
if (g_once_init_enter (&inited))
|
||||
{
|
||||
|
Reference in New Issue
Block a user