oss-fuzz: mark unused argv/argc argument
The dummy fuzz cmd_main() does not look at its argc/argv parameters (since it should never even be run), but has to match the usual cmd_main() declaration. Mark them to silence -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
bdc71b43ee
commit
4350676cdd
|
@ -8,7 +8,7 @@
|
||||||
* executed.
|
* executed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int cmd_main(int argc, const char **argv) {
|
int cmd_main(int argc UNUSED, const char **argv UNUSED) {
|
||||||
BUG("We should not execute cmd_main() from a fuzz target");
|
BUG("We should not execute cmd_main() from a fuzz target");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue