mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 00:43:41 +00:00
Fix a couple of warnings
This commit is contained in:
parent
403e18004c
commit
dfe2856d0f
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user