diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-09-18 12:06:55 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-09-18 12:06:55 +0200 |
commit | dfe2856d0f3eb66e9199d28a73fab71cad0f3ff1 (patch) | |
tree | 08803415fdf1ac38731ecd6524f4022712703612 /tests | |
parent | 403e18004cb34638c41383472802a1b0afb898cd (diff) | |
download | libgit2-dfe2856d0f3eb66e9199d28a73fab71cad0f3ff1.tar.gz |
Fix a couple of warnings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/online/push.c | 1 | ||||
-rw-r--r-- | tests/submodule/lookup.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/online/push.c b/tests/online/push.c index efb763c24..4d2b1d310 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 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); |