summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2020-03-15 18:23:19 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2020-03-15 18:23:19 +0000
commitc316e517ab3f013e54f3d48463d7a84a9ad1b306 (patch)
tree21f283faa6e36e54ccde3093104514e59b118467
parent5f3d352aa40dbd7fc8f716694c9f4b0494dda6fd (diff)
parentbc9c31f785ccb36b36ba1a53db1737d5cc7987c9 (diff)
downloadlibglnx-c316e517ab3f013e54f3d48463d7a84a9ad1b306.tar.gz
Merge branch 'auto-temp-dir-unused' into 'master'
_GLNX_TEST_SCOPED_TEMP_DIR: Mark variable as G_GNUC_UNUSED See merge request GNOME/libglnx!13
-rw-r--r--tests/libglnx-testlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libglnx-testlib.h b/tests/libglnx-testlib.h
index 0d3a075..d45ba86 100644
--- a/tests/libglnx-testlib.h
+++ b/tests/libglnx-testlib.h
@@ -45,4 +45,4 @@ void _glnx_test_auto_temp_dir_leave (_GLnxTestAutoTempDir *dir);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(_GLnxTestAutoTempDir, _glnx_test_auto_temp_dir_leave);
#define _GLNX_TEST_SCOPED_TEMP_DIR \
- g_autoptr(_GLnxTestAutoTempDir) temp_dir = _glnx_test_auto_temp_dir_enter ()
+ G_GNUC_UNUSED g_autoptr(_GLnxTestAutoTempDir) temp_dir = _glnx_test_auto_temp_dir_enter ()