diff options
author | Ondrej Holy <oholy@redhat.com> | 2021-02-12 14:02:31 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2021-02-12 14:45:49 +0100 |
commit | 4bf0aa8e38d64c92650226b28df38be35a86b4f9 (patch) | |
tree | 24dafc25fc146d63edcc20e03fb8ba65dc1e8feb /monitor/goa | |
parent | 9869544ac0a770a904dda593704ba2fb02662277 (diff) | |
download | gvfs-4bf0aa8e38d64c92650226b28df38be35a86b4f9.tar.gz |
Drop use of volatile qualifier
GVfs build with --werror fails currently because of glib!1719. Let's
drop the volatile qualifier as it doesn't help with atomicity anyway.
Relates: https://gitlab.gnome.org/GNOME/glib/-/issues/600
Diffstat (limited to 'monitor/goa')
-rw-r--r-- | monitor/goa/goavolumemonitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/goa/goavolumemonitor.c b/monitor/goa/goavolumemonitor.c index 256e9398..46855c84 100644 --- a/monitor/goa/goavolumemonitor.c +++ b/monitor/goa/goavolumemonitor.c @@ -326,7 +326,7 @@ get_goa_client_sync (GError **error) { static GoaClient *client = NULL; static GError *_error = NULL; - static volatile gsize initialized = 0; + static gsize initialized = 0; if (g_once_init_enter (&initialized)) { |