]> git.proxmox.com Git - libgit2.git/commitdiff
Fix a couple of warnings
authorCarlos Martín Nieto <cmn@dwim.me>
Fri, 18 Sep 2015 10:06:55 +0000 (12:06 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Fri, 18 Sep 2015 10:06:55 +0000 (12:06 +0200)
tests/online/push.c
tests/submodule/lookup.c

index efb763c24823c670cbe621dc3673b4c5ad911001..4d2b1d3109dccfeac31a38af7e7aaf5757f8a933 100644 (file)
@@ -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)
 {
index 5f161487176b74f185156921aa4b7dfae29cd908..38e0fa314f65d778907b4cb53d7133f20c8bf609 100644 (file)
@@ -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);