Skip to content

Commit 32638b6

Browse files
committed
(NFC) Replace dirty hack with (void)isHFSPlusCanonical;
1 parent a39f398 commit 32638b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CoreFoundation/include/CFUnicodeDecomposition.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
CF_EXTERN_C_BEGIN
1919

2020
CF_INLINE bool CFUniCharIsDecomposableCharacter(UTF32Char character, bool isHFSPlusCanonical) {
21-
if (isHFSPlusCanonical && !isHFSPlusCanonical) return false; // hack to get rid of "unused" warning
21+
(void)isHFSPlusCanonical;
2222
if (character < 0x80) return false;
2323
return CFUniCharIsMemberOf(character, kCFUniCharHFSPlusDecomposableCharacterSet);
2424
}

0 commit comments

Comments
 (0)