From 9f3c18e2ac082454c955761f10f4a0d06390c27f Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Latour Date: Tue, 2 Jun 2015 08:36:15 -0700 Subject: Fixed build warnings on Xcode 6.1 --- tests/diff/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/diff/index.c') diff --git a/tests/diff/index.c b/tests/diff/index.c index a544b83c7..cf883f12a 100644 --- a/tests/diff/index.c +++ b/tests/diff/index.c @@ -168,7 +168,7 @@ static void do_conflicted_diff(diff_expects *exp, unsigned long flags) const char *a_commit = "26a125ee1bf"; /* the current HEAD */ git_tree *a = resolve_commit_oid_to_tree(g_repo, a_commit); git_diff_options opts = GIT_DIFF_OPTIONS_INIT; - git_index_entry ancestor = {0}, ours = {0}, theirs = {0}; + git_index_entry ancestor = {{0}}, ours = {{0}}, theirs = {{0}}; git_diff *diff = NULL; git_index *index; -- cgit v1.2.1