diff --git a/egg/egg-libgcrypt.c b/egg/egg-libgcrypt.c index e215001..9617ebb 100644 --- a/egg/egg-libgcrypt.c +++ b/egg/egg-libgcrypt.c @@ -64,7 +64,7 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL; void egg_libgcrypt_initialize (void) { - static volatile gsize gcrypt_initialized = 0; + static size_t gcrypt_initialized = 0; unsigned seed; if (g_once_init_enter (&gcrypt_initialized)) { diff --git a/libsecret/secret-util.c b/libsecret/secret-util.c index 1b4f13d..c145a44 100644 --- a/libsecret/secret-util.c +++ b/libsecret/secret-util.c @@ -89,7 +89,7 @@ _secret_list_get_type (void) GQuark secret_error_get_quark (void) { - static volatile gsize quark = 0; + static gsize quark = 0; static const GDBusErrorEntry entries[] = { { SECRET_ERROR_IS_LOCKED, "org.freedesktop.Secret.Error.IsLocked", },