Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-03-03 22:10:50 +0300
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-04 16:48:46 +0300
commit83fe60fa1bb7c8293585e6e8d6b12f3039910bbb (patch)
tree1f6076fae5e1d0ac2418444579d4021b3a290dac /tests/main.c
parent3a8b69d13da66a0555231c84e71df010129b5afb (diff)
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/main.c')
-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();