Commit dfe2856d0f3eb66e9199d28a73fab71cad0f3ff1

Carlos Martín Nieto 2015-09-18T12:06:55

Fix a couple of warnings

diff --git a/tests/online/push.c b/tests/online/push.c
index efb763c..4d2b1d3 100644
--- a/tests/online/push.c
+++ b/tests/online/push.c
@@ -91,7 +91,6 @@ static int cred_acquire_cb(
 
 /**
  * git_push_status_foreach callback that records status entries.
- * @param data (git_vector *) of push_status instances
  */
 static int record_push_status_cb(const char *ref, const char *msg, void *payload)
 {
diff --git a/tests/submodule/lookup.c b/tests/submodule/lookup.c
index 5f16148..38e0fa3 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);