mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix -Wunused warnings, bump WARNS to 6
The output is still broken if prove -rv is run and the testcase aborts prematurely with fail_assertion (the testcase doesn't really conform to TAP protocol properly, except when it completes fully) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
1aa40dada2
commit
957885bf58
2 changed files with 3 additions and 2 deletions
|
|
@ -4,5 +4,6 @@
|
|||
|
||||
PROG= kqueue
|
||||
MAN=
|
||||
WARNS?= 6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
|
|
@ -250,9 +250,9 @@ test_evfilt_write(int kq, int fd[2], const char *socktype)
|
|||
* sockets, and confirm that we can register for various events on them.
|
||||
*/
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
main(void)
|
||||
{
|
||||
int i, kq, sv[2];
|
||||
int kq, sv[2];
|
||||
|
||||
printf("1..49\n");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue