diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-03-31 17:47:43 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-03-31 17:49:21 -0400 |
commit | 12611bfed7beccbb514341e07637bf2a4ebf70a6 (patch) | |
tree | c62afc844fd4eb914d8921805bc83f1476adf7c4 /pango | |
parent | 4556d2a72e02036d53c3523e98b2feaf3bf734a0 (diff) | |
download | pango-compiler-warning.tar.gz |
Quiet a compiler warningcompiler-warning
GLib now causes compiler warnings when passing a
volatile variable to g_atomic_ apis. Drop the volatile
to pacify gcc.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-enum-types.c.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-enum-types.c.template b/pango/pango-enum-types.c.template index 0d55ef74..b71b0a39 100644 --- a/pango/pango-enum-types.c.template +++ b/pango/pango-enum-types.c.template @@ -13,7 +13,7 @@ GType @enum_name@_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)) { |