ICU-2699 fix compiler warnings
X-SVN-Rev: 12450
This commit is contained in:
parent
b58657360a
commit
58a83101b4
@ -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…
Reference in New Issue
Block a user