diff --git a/Sources/CoreFoundation/include/CFUnicodeDecomposition.h b/Sources/CoreFoundation/include/CFUnicodeDecomposition.h index 0bded1f6c0..c9ea67cfb3 100644 --- a/Sources/CoreFoundation/include/CFUnicodeDecomposition.h +++ b/Sources/CoreFoundation/include/CFUnicodeDecomposition.h @@ -18,7 +18,7 @@ CF_EXTERN_C_BEGIN CF_INLINE bool CFUniCharIsDecomposableCharacter(UTF32Char character, bool isHFSPlusCanonical) { - if (isHFSPlusCanonical && !isHFSPlusCanonical) return false; // hack to get rid of "unused" warning + (void)isHFSPlusCanonical; if (character < 0x80) return false; return CFUniCharIsMemberOf(character, kCFUniCharHFSPlusDecomposableCharacterSet); }