Merge pull request #618 from nulltoken/fix/warning Fix compilation warning
diff --git a/tests-clar/core/errors.c b/tests-clar/core/errors.c
index 52b2652..c781000 100644
--- a/tests-clar/core/errors.c
+++ b/tests-clar/core/errors.c
@@ -46,6 +46,7 @@ void test_core_errors__new_school(void)
{
struct stat st;
assert(p_lstat("this_file_does_not_exist", &st) < 0);
+ GIT_UNUSED(st);
}
giterr_set(GITERR_OS, "stat failed"); /* internal fn */