diff options
| author | Russell Belfer <arrbee@arrbee.com> | 2012-03-16 15:56:01 -0700 |
|---|---|---|
| committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-16 15:56:01 -0700 |
| commit | 0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9 (patch) | |
| tree | 5e03e03bf9dc2f6125f4fb450cd3239d882b824f /tests-clar/object/tree/diff.c | |
| parent | 4cfe2ab60b1e26554b2bf753b06f538cb3475bd0 (diff) | |
| download | libgit2-0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9.tar.gz | |
Convert attr, ignore, mwindow, status to new errors
Also cleaned up some previously converted code that still had
little things to polish.
Diffstat (limited to 'tests-clar/object/tree/diff.c')
| -rw-r--r-- | tests-clar/object/tree/diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/object/tree/diff.c b/tests-clar/object/tree/diff.c index d481b6f2b..cadba8eaf 100644 --- a/tests-clar/object/tree/diff.c +++ b/tests-clar/object/tree/diff.c @@ -24,7 +24,7 @@ static void diff_cmp(const git_tree_diff_data *a, const git_tree_diff_data *b) static int diff_cb(const git_tree_diff_data *diff, void *data) { diff_cmp(diff, data); - return GIT_SUCCESS; + return 0; } static void test_diff(git_tree *a, git_tree *b, git_tree_diff_cb cb, void *data) @@ -126,7 +126,7 @@ static int diff_more_cb(const git_tree_diff_data *diff, void *data) more_data->expect_idx = (more_data->expect_idx + 1) % ARRAY_SIZE(more_data->expect); - return GIT_SUCCESS; + return 0; } void test_object_tree_diff__more(void) |
