From ad8aa11288d6cb25d7a26e133759e41b79670b4c Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 11 Feb 2016 11:26:42 -0800 Subject: [PATCH] reset test: fix initialization warning --- tests/reset/hard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/reset/hard.c b/tests/reset/hard.c index 149973374..0c0af914c 100644 --- a/tests/reset/hard.c +++ b/tests/reset/hard.c @@ -238,7 +238,7 @@ void test_reset_hard__reflog_is_correct(void) void test_reset_hard__switch_file_to_dir(void) { - git_index_entry entry = { 0 }; + git_index_entry entry = {{ 0 }}; git_index *idx; git_object *commit; git_tree *tree;