Skip to content
Snippets Groups Projects
Commit bc9c31f7 authored by Simon McVittie's avatar Simon McVittie
Browse files

_GLNX_TEST_SCOPED_TEMP_DIR: Mark variable as G_GNUC_UNUSED


Otherwise, clang diagnoses it as unused. It is - deliberately - only
allocated and cleaned up, with no other use.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 5f3d352a
No related branches found
No related tags found
No related merge requests found
......@@ -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 ()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment