diff options
author | dim <dim@FreeBSD.org> | 2015-12-31 22:52:11 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-12-31 22:52:11 +0000 |
commit | 64f2c44ad84c0333d3cdc811e04bf59d76f1ef26 (patch) | |
tree | d062c6e9144dffb4aca190529ec4a347b474495d /contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | |
parent | 50bc5a4b52d9caaec453dd3455dc38555687c430 (diff) | |
download | FreeBSD-src-64f2c44ad84c0333d3cdc811e04bf59d76f1ef26.zip FreeBSD-src-64f2c44ad84c0333d3cdc811e04bf59d76f1ef26.tar.gz |
Merge r293013 from clang380-import branch:
Fix a clang 3.8.0 warning in pflogd.c:
contrib/pf/pflogd/pflogd.c:769:8: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
if (!if_exists(interface) == -1) {
^ ~~
The if_exists() function does not return -1, and even if it did, it
would not be the correct way to check. Just ditch the == -1 instead.
Obtained from: OpenBSD's pflogd.c 1.49
MFC after: 3 days
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h')
0 files changed, 0 insertions, 0 deletions