[libsecret/wip/dueno/volatile: 2/2] Remove unnecessary "volatile"
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret/wip/dueno/volatile: 2/2] Remove unnecessary "volatile"
- Date: Sat, 12 Jun 2021 11:31:52 +0000 (UTC)
commit 86f5afbb107cea1dd22b342bdc514cfa0070f5c6
Author: Daiki Ueno <dueno src gnome org>
Date: Sat Jun 12 13:29:36 2021 +0200
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>
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", },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]