mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-2699 fix compiler warnings
X-SVN-Rev: 12450
This commit is contained in:
parent
b58657360a
commit
58a83101b4
2 changed files with 4 additions and 6 deletions
|
@ -22,8 +22,6 @@
|
|||
// *****************************************************************************
|
||||
// class NamePrep
|
||||
// *****************************************************************************
|
||||
static const UChar ASCII_SPACE = 0x0020;
|
||||
|
||||
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
|
@ -35,10 +33,6 @@ NamePrep::NamePrep(UErrorCode& status){
|
|||
doNFKC = TRUE;
|
||||
}
|
||||
|
||||
UBool NamePrep::isNotProhibited(UChar32 ch){
|
||||
return (UBool)(ch == ASCII_SPACE);
|
||||
}
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
||||
#endif /* #if !UCONFIG_NO_IDNA */
|
||||
|
|
|
@ -82,7 +82,11 @@ private:
|
|||
static const char fgClassID;
|
||||
};
|
||||
|
||||
#define ASCII_SPACE 0x0020
|
||||
|
||||
inline UBool NamePrep::isNotProhibited(UChar32 ch){
|
||||
return (UBool)(ch == ASCII_SPACE);
|
||||
}
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue