diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2020-11-11 18:20:37 +0000 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2020-11-20 14:40:19 +0000 |
commit | f4607def1695efb50eb49e0586eed0f5557935f2 (patch) | |
tree | 1403afe0eb147b0a081f068450e263d3fa28c2f7 | |
parent | 7f905ff1faf0acbe0d2ce69937e031fcacce9294 (diff) | |
download | glib-f4607def1695efb50eb49e0586eed0f5557935f2.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
-rw-r--r-- | gio/tests/g-file-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/tests/g-file-info.c b/gio/tests/g-file-info.c index 809b0ec79..1a02b5e0e 100644 --- a/gio/tests/g-file-info.c +++ b/gio/tests/g-file-info.c @@ -221,7 +221,7 @@ test_internal_enhanced_stdio (void) guint64 size_p0, alsize_p0, size_ps, alsize_ps; const gchar *id_p0; const gchar *id_p1; - volatile guint64 time_p0; + guint64 time_p0; gchar *tmp_dir; wchar_t *programdata_dir_w; wchar_t *users_dir_w; |