diff options
author | ngie <ngie@FreeBSD.org> | 2016-01-16 02:15:13 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-01-16 02:15:13 +0000 |
commit | e21056df4c21d2bfd48e59d992f788c169927067 (patch) | |
tree | 9a99128326f3f3997a0d511c3a91599bb8108ca1 /contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp | |
parent | 5df472ad9d7d2cf0556947a98ab052f4a098b40d (diff) | |
download | FreeBSD-src-e21056df4c21d2bfd48e59d992f788c169927067.zip FreeBSD-src-e21056df4c21d2bfd48e59d992f788c169927067.tar.gz |
Fix warnings with gcc 5.0
reconnect.c:
- Convert the K&R prototype of main to an ANSI prototype to mute a
warning from gcc 4.2.1
- Close s_sock2 after finishing off the last test to plug a leak and
mute a warning from gcc 5.0 about a -Wunused-but-set variable
sendfile.c:
- Fix a -Wunused-but-set warning with gcc 5.0 with pagesize in main(..)
MFC after: 5 days
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp')
0 files changed, 0 insertions, 0 deletions