Commit a7bd157e by Patrick Steinhardt

tests: fix warning for nested struct initialization

parent a27f31d8
......@@ -178,7 +178,7 @@ static void setup_uptodate_files(void)
{
git_buf path = GIT_BUF_INIT;
git_index *index;
git_index_entry new_entry = {0};
git_index_entry new_entry = {{0}};
cl_git_pass(git_repository_index(&index, g_repo));
......
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