diff options
author | Max Kellermann <max@duempel.org> | 2014-12-26 14:40:32 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-26 14:40:32 +0100 |
commit | 412bedb697c66c809652510951e1ccdb5319d0bb (patch) | |
tree | a9c94234d7078e7a1e694e65db70a65966ccb5ac /src/lib | |
parent | d37811f177bb7e4c5dd6e3a18b3466ba831aa379 (diff) | |
parent | 163597ef6939e4250afafe12f821aa732b1fc2b7 (diff) | |
download | mpd-412bedb697c66c809652510951e1ccdb5319d0bb.tar.gz mpd-412bedb697c66c809652510951e1ccdb5319d0bb.tar.xz mpd-412bedb697c66c809652510951e1ccdb5319d0bb.zip |
Merge branch 'v0.19.x'
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/icu/Collate.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/icu/Collate.cxx b/src/lib/icu/Collate.cxx index 1dde5d5e2..f2ffb7b74 100644 --- a/src/lib/icu/Collate.cxx +++ b/src/lib/icu/Collate.cxx @@ -78,8 +78,11 @@ gcc_pure int IcuCollate(const char *a, const char *b) { +#if !CLANG_CHECK_VERSION(3,6) + /* disabled on clang due to -Wtautological-pointer-compare */ assert(a != nullptr); assert(b != nullptr); +#endif #ifdef HAVE_ICU assert(collator != nullptr); @@ -116,7 +119,10 @@ IcuCaseFold(const char *src) { #ifdef HAVE_ICU assert(collator != nullptr); +#if !CLANG_CHECK_VERSION(3,6) + /* disabled on clang due to -Wtautological-pointer-compare */ assert(src != nullptr); +#endif const auto u = UCharFromUTF8(src); if (u.IsNull()) |