diff options
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c index 44e1e94e2..3eebb927a 100644 --- a/src/commit.c +++ b/src/commit.c @@ -112,7 +112,7 @@ int commit_parse_buffer(git_commit *commit, void *data, size_t len, unsigned int /* first parse; the vector hasn't been initialized yet */ if (commit->parents.contents == NULL) { - git_vector_init(&commit->parents, 4, NULL, NULL); + git_vector_init(&commit->parents, 4, NULL); } clear_parents(commit); |