diff options
author | Patrick Steinhardt <ps@pks.im> | 2015-11-30 19:40:49 +0300 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2015-11-30 19:40:49 +0300 |
commit | a7bd157ebfcfd517b65e0ddc017286f61bc8b218 (patch) | |
tree | 09b328ee83f8f920056f12d458317327ca70947f | |
parent | a27f31d8f54635e349d5c64df4394a3f51752a5a (diff) |
tests: fix warning for nested struct initialization
-rw-r--r-- | tests/index/racy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/index/racy.c b/tests/index/racy.c index 862c5ab7e..a24d47a10 100644 --- a/tests/index/racy.c +++ b/tests/index/racy.c @@ -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)); |