summaryrefslogtreecommitdiff
path: root/tests/threads/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threads/diff.c')
-rw-r--r--tests/threads/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/threads/diff.c b/tests/threads/diff.c
index ab34b32a1..699642790 100644
--- a/tests/threads/diff.c
+++ b/tests/threads/diff.c
@@ -136,7 +136,7 @@ static void *run_index_diffs(void *arg)
git_diff_free(diff);
git_repository_free(repo);
- giterr_clear();
+ git_error_clear();
return arg;
}
@@ -203,7 +203,7 @@ static void *run_index_diffs_with_modifier(void *arg)
done:
git_index_free(idx);
git_repository_free(repo);
- giterr_clear();
+ git_error_clear();
return arg;
}