diff options
Diffstat (limited to '')
-rw-r--r-- | src/SongFilter.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SongFilter.cxx b/src/SongFilter.cxx index 794cb9208..dc0a63df3 100644 --- a/src/SongFilter.cxx +++ b/src/SongFilter.cxx @@ -77,7 +77,10 @@ SongFilter::Item::Item(unsigned _tag, time_t _time) bool SongFilter::Item::StringMatch(const char *s) const { +#if !CLANG_CHECK_VERSION(3,6) + /* disabled on clang due to -Wtautological-pointer-compare */ assert(s != nullptr); +#endif if (fold_case) { const std::string folded = IcuCaseFold(s); |