summaryrefslogtreecommitdiff
path: root/glib/tests/hash.c
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2020-11-11 18:16:17 +0000
committerPhilip Withnall <pwithnall@endlessos.org>2020-11-20 14:40:19 +0000
commit3dda662bebb81666d009635df1055ba5c1e17b52 (patch)
tree3753f4f75605719df682f1ea9d90e2f35f925524 /glib/tests/hash.c
parentea746c79faf554d980c21b0e4381753e003d2dc6 (diff)
downloadglib-3dda662bebb81666d009635df1055ba5c1e17b52.tar.gz
tests: Drop unnecessary volatile qualifiers from tests
These variables were already (correctly) accessed atomically. The `volatile` qualifier doesn’t help with that. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #600
Diffstat (limited to 'glib/tests/hash.c')
-rw-r--r--glib/tests/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/hash.c b/glib/tests/hash.c
index 4623d18d1..f4ff55ce1 100644
--- a/glib/tests/hash.c
+++ b/glib/tests/hash.c
@@ -1362,7 +1362,7 @@ struct _GHashTable
GHashFunc hash_func;
GEqualFunc key_equal_func;
- volatile gint ref_count;
+ gint ref_count; /* (atomic) */
#ifndef G_DISABLE_ASSERT
int version;