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
This commit is contained in:
Marco Trevisan (Treviño)
2020-12-19 22:23:18 +01:00
parent 3e81179eca
commit b624f8c8c7

View File

@ -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))
{