comparison fuzz-harness.c @ 1559:92c93b4a3646 fuzz

Fix to be able to compile normal(ish) binaries with --enable-fuzz
author Matt Johnston <matt@ucc.asn.au>
date Wed, 28 Feb 2018 22:02:12 +0800
parents 9891bc31a1b3
children 35af85194268
comparison
equal deleted inserted replaced
1558:2f64cb3d3007 1559:92c93b4a3646
17 #endif 17 #endif
18 } 18 }
19 19
20 for (i = 1; i < argc; i++) { 20 for (i = 1; i < argc; i++) {
21 if (argv[i][0] == '-') { 21 if (argv[i][0] == '-') {
22 // ignore arguments 22 /* ignore arguments */
23 continue; 23 continue;
24 } 24 }
25 25
26 char* fn = argv[i]; 26 char* fn = argv[i];
27 buf_setlen(input, 0); 27 buf_setlen(input, 0);