Commit efef3795a2d29f6b99bb9575585bb3fc19c3ed79

Vicent Martí 2012-04-04T10:37:25

Merge pull request #618 from nulltoken/fix/warning Fix compilation warning

1
2
3
4
5
6
7
8
9
10
11
12
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 */