fixed-benchmark: remove unused arguments in main
Fixed benchmark uses main(int argc, char *argv[]) but does not use the arguments, so we can replace them with void Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
c2547c70a7
commit
ba731f951c
|
@ -96,7 +96,7 @@ benchmark(const char *s, void (*f)(void))
|
|||
s, elapsed.tv_sec, elapsed.tv_nsec);
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
int main(void)
|
||||
{
|
||||
benchmark("noop", noop_conversion);
|
||||
benchmark("magic", magic_conversion);
|
||||
|
|
Loading…
Reference in New Issue
Block a user