summaryrefslogtreecommitdiff
path: root/tests/gobject/performance-threaded.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2020-11-20 14:55:03 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2020-11-20 14:55:03 +0000
commit936a07173a7a307c7b91de70437cdcb423b72a6d (patch)
treec45181680ac1a9e61bba457c0f828075c44c2439 /tests/gobject/performance-threaded.c
parent066e68001e0b4f4a186be9e181031125504e3a5e (diff)
parent83e48d8ac1fee98059e2305d8909dca26190bddc (diff)
downloadglib-936a07173a7a307c7b91de70437cdcb423b72a6d.tar.gz
Merge branch '600-drop-volatile' into 'master'
Drop use of volatile Closes #600 See merge request GNOME/glib!1719
Diffstat (limited to 'tests/gobject/performance-threaded.c')
-rw-r--r--tests/gobject/performance-threaded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gobject/performance-threaded.c b/tests/gobject/performance-threaded.c
index 30ea5bd80..c98541d66 100644
--- a/tests/gobject/performance-threaded.c
+++ b/tests/gobject/performance-threaded.c
@@ -52,7 +52,7 @@ static GType liststore_interfaces[6];
static gpointer
register_types (void)
{
- static volatile gsize inited = 0;
+ static gsize inited = 0;
if (g_once_init_enter (&inited))
{
liststore_interfaces[0] = simple_register_class ("GtkBuildable", G_TYPE_INTERFACE, 0);