Commit ad8aa112 by Edward Thomson

reset test: fix initialization warning

parent 488e2b85
...@@ -238,7 +238,7 @@ void test_reset_hard__reflog_is_correct(void) ...@@ -238,7 +238,7 @@ void test_reset_hard__reflog_is_correct(void)
void test_reset_hard__switch_file_to_dir(void) void test_reset_hard__switch_file_to_dir(void)
{ {
git_index_entry entry = { 0 }; git_index_entry entry = {{ 0 }};
git_index *idx; git_index *idx;
git_object *commit; git_object *commit;
git_tree *tree; git_tree *tree;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment