diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2020-03-15 18:23:19 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2020-03-15 18:23:19 +0000 |
commit | c316e517ab3f013e54f3d48463d7a84a9ad1b306 (patch) | |
tree | 21f283faa6e36e54ccde3093104514e59b118467 | |
parent | 5f3d352aa40dbd7fc8f716694c9f4b0494dda6fd (diff) | |
parent | bc9c31f785ccb36b36ba1a53db1737d5cc7987c9 (diff) | |
download | libglnx-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.h | 2 |
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 () |