Fix a couple of warnings

This commit is contained in:
Carlos Martín Nieto 2015-09-18 12:06:55 +02:00
parent 403e18004c
commit dfe2856d0f
2 changed files with 1 additions and 2 deletions

View File

@ -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)
{ {

View File

@ -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);