summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/fuzzing/fuzz_reg_parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fuzzing/fuzz_reg_parse.c b/lib/fuzzing/fuzz_reg_parse.c
index 36b1b6f84ac..a061cd6294b 100644
--- a/lib/fuzzing/fuzz_reg_parse.c
+++ b/lib/fuzzing/fuzz_reg_parse.c
@@ -34,14 +34,13 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
int LLVMFuzzerTestOneInput(uint8_t *buf, size_t len)
{
const reg_parse_callback cb = {0};
- int ret;
rewind(fp);
(void)fwrite(buf, len, 1, fp);
(void)fflush(fp);
rewind(fp);
- ret = reg_parse_fd(fileno(fp), &cb, "");
+ (void)reg_parse_fd(fileno(fp), &cb, "");
return 0;
}