[test] minor
style fix and add return statement
This commit is contained in:
parent
a6048e4cd0
commit
25531a3039
@ -4,7 +4,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
hb_blob_t *blob = hb_blob_create_from_file (argv[1]);
|
||||
unsigned int len;
|
||||
const char *font_data = hb_blob_get_data (blob, &len);
|
||||
@ -14,10 +15,13 @@ int main(int argc, char **argv) {
|
||||
exit (1);
|
||||
}
|
||||
|
||||
for (int i = 1; i < argc; i++) {
|
||||
for (unsigned int i = 1; i < argc; i++)
|
||||
{
|
||||
printf ("%s\n", argv[i]);
|
||||
LLVMFuzzerTestOneInput((const uint8_t *) font_data, len);
|
||||
LLVMFuzzerTestOneInput ((const uint8_t *) font_data, len);
|
||||
}
|
||||
|
||||
hb_blob_destroy (blob);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user