]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix warnings with clang/gcc
authorngie <ngie@FreeBSD.org>
Sat, 16 Jan 2016 02:18:36 +0000 (02:18 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 16 Jan 2016 02:18:36 +0000 (02:18 +0000)
commita9818fcf9d67a5d86f213987895990d53845c8b0
tree077a2791c38970393866b14daba827b0f88da8df
parente21056df4c21d2bfd48e59d992f788c169927067
Fix warnings with clang/gcc

- Get rid of unused argc/argv variables in main
- Exit on failure with a return code of 1 instead of -1 with err/errx as a
  return code of -1 is implementation dependent
- Bump WARNS to 6

MFC after: 5 days
Sponsored by: EMC / Isilon Storage Division
tools/regression/sockets/zerosend/Makefile
tools/regression/sockets/zerosend/zerosend.c