Commit 6d6bec0cc6326d9b634a7d4c4b87a1be64313fae

Edward Thomson 2018-08-26T11:52:21

fuzzer: update for indexer changes

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/fuzzers/packfile_fuzzer.c b/fuzzers/packfile_fuzzer.c
index a59d283..6f45387 100644
--- a/fuzzers/packfile_fuzzer.c
+++ b/fuzzers/packfile_fuzzer.c
@@ -75,7 +75,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
 		abort();
 	}
 
-	if (git_indexer_new(&indexer, ".", 0, odb, NULL, NULL) < 0) {
+	if (git_indexer_new(&indexer, ".", 0, odb, NULL) < 0) {
 		fprintf(stderr, "Failed to create the indexer: %s\n",
 			giterr_last()->message);
 		abort();