summaryrefslogtreecommitdiff
path: root/tests/threads/iterator.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threads/iterator.c')
-rw-r--r--tests/threads/iterator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/threads/iterator.c b/tests/threads/iterator.c
index d93c89110..33d1bda81 100644
--- a/tests/threads/iterator.c
+++ b/tests/threads/iterator.c
@@ -41,7 +41,7 @@ static void *run_workdir_iterator(void *arg)
git_iterator_free(iter);
git_repository_free(repo);
- giterr_clear();
+ git_error_clear();
return arg;
}