summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-09-04 15:40:05 +0200
committerVicent Marti <tanoku@gmail.com>2012-09-04 15:40:28 +0200
commit925be045d5c227dc595e9379f49a3f97b0aaeadd (patch)
tree2ffc61b078c31bfd9a20cda3ddc2791a92e88b32
parentaf6bcd8b932be89f6499c32353b1335c9489e59f (diff)
downloadlibgit2-925be045d5c227dc595e9379f49a3f97b0aaeadd.tar.gz
clar: Clear errors on shutdown
-rw-r--r--tests-clar/clar_helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests-clar/clar_helpers.c b/tests-clar/clar_helpers.c
index c91479438..80d0e3ae9 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)