summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-03-03 14:10:50 -0500
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-04 14:48:46 +0100
commit83fe60fa1bb7c8293585e6e8d6b12f3039910bbb (patch)
tree1f6076fae5e1d0ac2418444579d4021b3a290dac /tests
parent3a8b69d13da66a0555231c84e71df010129b5afb (diff)
downloadlibgit2-83fe60fa1bb7c8293585e6e8d6b12f3039910bbb.tar.gz
libgit2_shutdown: clear err message on shutdown
Clear the error message on git_libgit2_shutdown for all versions of the library (no threads and Win32 threads). Drop the giterr_clear in clar, as that shouldn't be necessary.
Diffstat (limited to 'tests')
-rw-r--r--tests/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c
index cc1323083..f67c8ffbc 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -20,7 +20,6 @@ int main(int argc, char *argv[])
clar_test_shutdown();
- giterr_clear();
cl_global_trace_disable();
git_libgit2_shutdown();