Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-09-18 13:06:55 +0300
committerCarlos Martín Nieto <cmn@dwim.me>2015-09-18 13:06:55 +0300
commitdfe2856d0f3eb66e9199d28a73fab71cad0f3ff1 (patch)
tree08803415fdf1ac38731ecd6524f4022712703612 /tests/submodule
parent403e18004cb34638c41383472802a1b0afb898cd (diff)
Fix a couple of warnings
Diffstat (limited to 'tests/submodule')
-rw-r--r--tests/submodule/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/submodule/lookup.c b/tests/submodule/lookup.c
index 5f1614871..38e0fa314 100644
--- a/tests/submodule/lookup.c
+++ b/tests/submodule/lookup.c
@@ -369,7 +369,7 @@ void test_submodule_lookup__renamed(void)
/* Rename the entry in the index */
{
const git_index_entry *e;
- git_index_entry entry = { 0 };
+ git_index_entry entry = {{ 0 }};
e = git_index_get_bypath(idx, "sm_unchanged", 0);
cl_assert(e);