Commit b624f8c8 authored by Marco Trevisan's avatar Marco Trevisan
Browse files

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:

parent 3e81179e
...@@ -432,7 +432,7 @@ fprint_manager_get_default_device (FprintManager *manager, ...@@ -432,7 +432,7 @@ fprint_manager_get_default_device (FprintManager *manager,
GQuark GQuark
fprint_error_quark (void) fprint_error_quark (void)
{ {
static volatile gsize quark = 0; static gsize quark = 0;
if (g_once_init_enter (&quark)) 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