mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 04:30:48 +00:00
tests: fix warning for nested struct initialization
This commit is contained in:
parent
a27f31d8f5
commit
a7bd157ebf
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user