Commit b624f8c8 authored by Marco Trevisan's avatar Marco Trevisan

manager: Do not use unnecessary volatile qualifier on GQuark

As per new GLib in CI image fprintd doesn't build anymore, since
g_once_init_enter now warns about using a volatile value, as this has
never been supposed to be the case, despite its signature [1].

Related to: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719

[1] https://gitlab.gnome.org/GNOME/glib/-/issues/600
parent 3e81179e
......@@ -432,7 +432,7 @@ fprint_manager_get_default_device (FprintManager *manager,
GQuark
fprint_error_quark (void)
{
static volatile gsize quark = 0;
static gsize quark = 0;
if (g_once_init_enter (&quark))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment