Commit 70d41f6bcd248ebb7eaf65098a9495e9e54c67d0

Michael Schubert 2012-10-16T23:42:01

Fix -Wunused-but-set-variable warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/status/ignore.c b/tests-clar/status/ignore.c
index bd74b97..ddd0b3d 100644
--- a/tests-clar/status/ignore.c
+++ b/tests-clar/status/ignore.c
@@ -182,6 +182,8 @@ void test_status_ignore__subdirectories(void)
 	int ignored;
 	git_status_options opts;
 
+	GIT_UNUSED(opts);
+
 	g_repo = cl_git_sandbox_init("empty_standard_repo");
 
 	cl_git_mkfile(