Skip to content

Commit

Permalink
Drop use of volatile
Browse files Browse the repository at this point in the history
The `fedora rawhide` CI job currently fails because of usage of the
`volatile` qualifier. Let's drop the `volatile` qualifier as it doesn't
help anyway. It was dropped in GLib as well, see:
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1741
  • Loading branch information
ondrejholy authored and antoniojpfernandes committed Jan 15, 2021
1 parent 2b60990 commit 9b733dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nautilus-enum-types.c.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
GType
@enum_name@_get_type (void)
{
static volatile GType type_once = 0;
static GType type_once = 0;

if (g_once_init_enter (&type_once))
{
Expand Down

0 comments on commit 9b733dd

Please sign in to comment.