Skip to content

Commit 261267e

Browse files
committed
odb_pack: fix passing partially initialized indexer options
1 parent 6b51f38 commit 261267e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odb_pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ static int pack_backend__writepack(struct git_odb_writepack **out,
519519
git_transfer_progress_cb progress_cb,
520520
void *progress_payload)
521521
{
522-
git_indexer_options opts;
522+
git_indexer_options opts = GIT_INDEXER_OPTIONS_INIT;
523523
struct pack_backend *backend;
524524
struct pack_writepack *writepack;
525525

0 commit comments

Comments
 (0)