[json-glib/gidocgen: 2/2] Remove `volatile` from enum registration template
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib/gidocgen: 2/2] Remove `volatile` from enum registration template
- Date: Tue, 8 Jun 2021 16:22:06 +0000 (UTC)
commit 5a82b621f037a1cedfb56065c182cc9eab2cbbaa
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Jun 8 17:21:28 2021 +0100
Remove `volatile` from enum registration template
The `volatile` was dropped from the GLib API, as it's useless.
json-glib/json-enum-types.c.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/json-glib/json-enum-types.c.in b/json-glib/json-enum-types.c.in
index 7b39290..81a342c 100644
--- a/json-glib/json-enum-types.c.in
+++ b/json-glib/json-enum-types.c.in
@@ -18,7 +18,7 @@
GType
@enum_name@_get_type (void)
{
- static volatile gsize g_enum_type_id__volatile = 0;
+ static gsize g_enum_type_id__volatile = 0;
if (g_once_init_enter (&g_enum_type_id__volatile))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]