summaryrefslogtreecommitdiffhomepage
path: root/fuzz/fuzz-harness.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/fuzz-harness.c')
-rw-r--r--fuzz/fuzz-harness.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fuzz/fuzz-harness.c b/fuzz/fuzz-harness.c
index 36905d6..331a88c 100644
--- a/fuzz/fuzz-harness.c
+++ b/fuzz/fuzz-harness.c
@@ -47,7 +47,8 @@ int main(int argc, char ** argv) {
return 0;
}
-size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) {
+// Just to let it link
+size_t LLVMFuzzerMutate(uint8_t *UNUSED(Data), size_t UNUSED(Size), size_t UNUSED(MaxSize)) {
printf("standalone fuzzer harness shouldn't call LLVMFuzzerMutate");
abort();
return 0;