tests: mark main()'s "argc" as unused
authorLaszlo Ersek <lersek@redhat.com>
Sun, 11 Sep 2022 12:44:23 +0000 (14:44 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 20 Sep 2022 09:08:37 +0000 (10:08 +0100)
Otherwise gcc emits warnings such as

> test-spawn.c: In function ‘main’:
> test-spawn.c:30:11: warning: unused parameter ‘argc’ [-Wunused-parameter]
>    30 | main (int argc, char *argv[])
>       |       ~~~~^~~~

when "-Wextra" is combined with "-Wall", and "-Wextra" is useful.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>

No differences found