tests: fix warning for nested struct initialization

This commit is contained in:
Patrick Steinhardt 2015-11-30 17:40:49 +01:00
parent a27f31d8f5
commit a7bd157ebf

View File

@ -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));