mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 12:23:34 +02:00
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:
@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user