diff options
| author | Linquize <linquize@yahoo.com.hk> | 2014-08-31 22:43:53 +0800 |
|---|---|---|
| committer | Linquize <linquize@yahoo.com.hk> | 2014-08-31 22:43:53 +0800 |
| commit | aff700182518471941be2cfb0659a1c611a854ba (patch) | |
| tree | e085b50552470f184624ae05d536ea00a7d3f075 /tests/online/push.c | |
| parent | 46a13f32472741f0ed66db7cb75c8cff279886ad (diff) | |
| download | libgit2-aff700182518471941be2cfb0659a1c611a854ba.tar.gz | |
MSVC does not support zero size array
Diffstat (limited to 'tests/online/push.c')
| -rw-r--r-- | tests/online/push.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/online/push.c b/tests/online/push.c index 4d88bdf7f..70ec705fe 100644 --- a/tests/online/push.c +++ b/tests/online/push.c @@ -864,7 +864,6 @@ void test_online_push__notes(void) push_status exp_stats[] = { { "refs/notes/commits", 1 } }; expected_ref exp_refs[] = { { "refs/notes/commits", &expected_oid } }; const char *specs_del[] = { ":refs/notes/commits" }; - expected_ref exp_refs_del[] = { }; git_oid_fromstr(&expected_oid, "8461a99b27b7043e58ff6e1f5d2cf07d282534fb"); @@ -882,7 +881,7 @@ void test_online_push__notes(void) do_push(specs_del, ARRAY_SIZE(specs_del), exp_stats, 1, - exp_refs_del, ARRAY_SIZE(exp_refs_del), 0, 0, 0); + NULL, 0, 0, 0, 0); git_signature_free(signature); } |
