From 86f5afbb107cea1dd22b342bdc514cfa0070f5c6 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sat, 12 Jun 2021 13:29:36 +0200 Subject: [PATCH] Remove unnecessary "volatile" The documentation of g_dbus_error_register_error_domain suggests that the argument passed to it should not be volatile. Signed-off-by: Daiki Ueno --- libsecret/secret-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", },