Commit 925be045d5c227dc595e9379f49a3f97b0aaeadd

Vicent Marti 2012-09-04T15:40:05

clar: Clear errors on shutdown

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests-clar/clar_helpers.c b/tests-clar/clar_helpers.c
index c914794..80d0e3a 100644
--- a/tests-clar/clar_helpers.c
+++ b/tests-clar/clar_helpers.c
@@ -9,6 +9,7 @@ void clar_on_init(void)
 void clar_on_shutdown(void)
 {
 	git_threads_shutdown();
+	giterr_clear();
 }
 
 void cl_git_mkfile(const char *filename, const char *content)