[folks/remove-volatile-keyword-for-g-once-init] tests: Remove volatile keyword for g_once_init_enter
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks/remove-volatile-keyword-for-g-once-init] tests: Remove volatile keyword for g_once_init_enter
- Date: Sun, 10 Oct 2021 08:36:22 +0000 (UTC)
commit 9ce63d1dfc3242a0285562d051d6b5c7bb789a2d
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun Oct 10 10:35:31 2021 +0200
tests: Remove volatile keyword for g_once_init_enter
See https://gitlab.gnome.org/GNOME/glib/-/issues/600
tests/lib/gtestdbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/lib/gtestdbus.c b/tests/lib/gtestdbus.c
index 00adfb5e..dbc0923e 100644
--- a/tests/lib/gtestdbus.c
+++ b/tests/lib/gtestdbus.c
@@ -44,7 +44,7 @@
GType
folks_test_dbus_flags_get_type (void)
{
- static volatile gsize g_define_type_id__volatile = 0;
+ static gsize g_define_type_id__volatile = 0;
if (g_once_init_enter (&g_define_type_id__volatile))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]