Commit 4fd847bb94b5bf8c1e4dce4e0c4798068977f916

Ben Straub 2013-10-10T14:38:15

Fix initializer error

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/tests-clar/blame/getters.c b/tests-clar/blame/getters.c
index 8d67e3e..66eaeec 100644
--- a/tests-clar/blame/getters.c
+++ b/tests-clar/blame/getters.c
@@ -10,11 +10,11 @@ void test_blame_getters__initialize(void)
 	git_blame_options opts = GIT_BLAME_OPTIONS_INIT;
 
 	git_blame_hunk hunks[] = {
-		{ 3, {{0}},  1, {{0}}, "a", 0},
-		{ 3, {{0}},  4, {{0}}, "b", 0},
-		{ 3, {{0}},  7, {{0}}, "c", 0},
-		{ 3, {{0}}, 10, {{0}}, "d", 0},
-		{ 3, {{0}}, 13, {{0}}, "e", 0},
+		{ 3, {{0}},  1, NULL, {{0}}, "a", 0},
+		{ 3, {{0}},  4, NULL, {{0}}, "b", 0},
+		{ 3, {{0}},  7, NULL, {{0}}, "c", 0},
+		{ 3, {{0}}, 10, NULL, {{0}}, "d", 0},
+		{ 3, {{0}}, 13, NULL, {{0}}, "e", 0},
 	};
 
 	g_blame = git_blame__alloc(NULL, opts, "");