summaryrefslogtreecommitdiff
path: root/tests-clar/diff/blob.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-03-21 11:04:32 -0700
committerRussell Belfer <rb@github.com>2012-03-21 11:04:32 -0700
commitd3dd775ea51580a9036d7ed91a66963d31158bcc (patch)
tree0911a59066df294056bf8c918a246e5a4b00e2fe /tests-clar/diff/blob.c
parente71b78b02b6f28d1cf94dc5023fe1faba3f4026c (diff)
parent7826d577599a19a5b1ada97c45932e3b909f5add (diff)
downloadlibgit2-d3dd775ea51580a9036d7ed91a66963d31158bcc.tar.gz
Merge pull request #608 from schu/remove-unused-parameter
diff_output: remove unused parameter
Diffstat (limited to 'tests-clar/diff/blob.c')
-rw-r--r--tests-clar/diff/blob.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests-clar/diff/blob.c b/tests-clar/diff/blob.c
index bdfe8baaf..ed1f14a07 100644
--- a/tests-clar/diff/blob.c
+++ b/tests-clar/diff/blob.c
@@ -43,7 +43,7 @@ void test_diff_blob__0(void)
memset(&exp, 0, sizeof(exp));
cl_git_pass(git_diff_blobs(
- g_repo, a, b, &opts, &exp, diff_hunk_fn, diff_line_fn));
+ a, b, &opts, &exp, diff_hunk_fn, diff_line_fn));
cl_assert(exp.hunks == 1);
cl_assert(exp.lines == 6);
@@ -53,7 +53,7 @@ void test_diff_blob__0(void)
memset(&exp, 0, sizeof(exp));
cl_git_pass(git_diff_blobs(
- g_repo, b, c, &opts, &exp, diff_hunk_fn, diff_line_fn));
+ b, c, &opts, &exp, diff_hunk_fn, diff_line_fn));
cl_assert(exp.hunks == 1);
cl_assert(exp.lines == 15);
@@ -63,7 +63,7 @@ void test_diff_blob__0(void)
memset(&exp, 0, sizeof(exp));
cl_git_pass(git_diff_blobs(
- g_repo, a, c, &opts, &exp, diff_hunk_fn, diff_line_fn));
+ a, c, &opts, &exp, diff_hunk_fn, diff_line_fn));
cl_assert(exp.hunks == 1);
cl_assert(exp.lines == 13);
@@ -75,7 +75,7 @@ void test_diff_blob__0(void)
memset(&exp, 0, sizeof(exp));
cl_git_pass(git_diff_blobs(
- g_repo, c, d, &opts, &exp, diff_hunk_fn, diff_line_fn));
+ c, d, &opts, &exp, diff_hunk_fn, diff_line_fn));
cl_assert(exp.hunks == 2);
cl_assert(exp.lines == 14);