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 <dueno@src.gnome.org>
This commit is contained in:
Daiki Ueno 2021-06-12 13:29:36 +02:00
parent 2c2b0abef7
commit 86f5afbb10

View File

@ -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", },