Commit dfe2856d by Carlos Martín Nieto

Fix a couple of warnings

parent 403e1800
...@@ -91,7 +91,6 @@ static int cred_acquire_cb( ...@@ -91,7 +91,6 @@ static int cred_acquire_cb(
/** /**
* git_push_status_foreach callback that records status entries. * 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) static int record_push_status_cb(const char *ref, const char *msg, void *payload)
{ {
......
...@@ -369,7 +369,7 @@ void test_submodule_lookup__renamed(void) ...@@ -369,7 +369,7 @@ void test_submodule_lookup__renamed(void)
/* Rename the entry in the index */ /* Rename the entry in the index */
{ {
const git_index_entry *e; const git_index_entry *e;
git_index_entry entry = { 0 }; git_index_entry entry = {{ 0 }};
e = git_index_get_bypath(idx, "sm_unchanged", 0); e = git_index_get_bypath(idx, "sm_unchanged", 0);
cl_assert(e); cl_assert(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment