summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-12-31 22:45:00 +0000
committerdim <dim@FreeBSD.org>2015-12-31 22:45:00 +0000
commit5e96169da3835c4e7ba0d43cbe01f0d7b36f67b3 (patch)
tree129304197d06b6f58ec87386d702a309a79c10fa /contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
parent986cd97fb8d8b0815cd92099d7c71d4c2936afa8 (diff)
downloadFreeBSD-src-5e96169da3835c4e7ba0d43cbe01f0d7b36f67b3.zip
FreeBSD-src-5e96169da3835c4e7ba0d43cbe01f0d7b36f67b3.tar.gz
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/Language/CPlusPlus/CPlusPlusLanguage.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud