diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-06-22 13:19:47 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-06-22 13:20:07 +0200 |
commit | 261267e0f1d36435e3832c4988cb2298b68dc7c2 (patch) | |
tree | 783a82384708789afe82ef8478b74456fefe0337 | |
parent | 6b51f380f27908a3819ccbee4c2b3943b280a1ab (diff) | |
download | libgit2-261267e0f1d36435e3832c4988cb2298b68dc7c2.tar.gz |
odb_pack: fix passing partially initialized indexer options
-rw-r--r-- | src/odb_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c index 4107db6c1..2892aa1e2 100644 --- a/src/odb_pack.c +++ b/src/odb_pack.c @@ -519,7 +519,7 @@ static int pack_backend__writepack(struct git_odb_writepack **out, git_transfer_progress_cb progress_cb, void *progress_payload) { - git_indexer_options opts; + git_indexer_options opts = GIT_INDEXER_OPTIONS_INIT; struct pack_backend *backend; struct pack_writepack *writepack; |