mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-3500 fix unused param compiler warning
X-SVN-Rev: 15880
This commit is contained in:
parent
ad42df258f
commit
bbf96aea2c
2 changed files with 5 additions and 7 deletions
|
@ -1069,9 +1069,8 @@ void printPunycodeOutput(){
|
|||
}
|
||||
#endif
|
||||
|
||||
void TestIDNA::testErrorCases(const char* toASCIIName, TestFunc toASCII,
|
||||
const char* IDNToASCIIName, TestFunc IDNToASCII,
|
||||
const char* IDNToUnicodeName, TestFunc IDNToUnicode){
|
||||
void TestIDNA::testErrorCases(const char* IDNToASCIIName, TestFunc IDNToASCII,
|
||||
const char* IDNToUnicodeName, TestFunc IDNToUnicode){
|
||||
UChar buf[MAX_DEST_SIZE];
|
||||
int32_t bufLen=0;
|
||||
|
||||
|
@ -1450,7 +1449,7 @@ void TestIDNA::TestCompare(){
|
|||
testCompare("uidna_compare",uidna_compare);
|
||||
}
|
||||
void TestIDNA::TestErrorCases(){
|
||||
testErrorCases("uidna_toASCII",uidna_toASCII, "uidna_IDNToASCII",uidna_IDNToASCII,
|
||||
testErrorCases( "uidna_IDNToASCII",uidna_IDNToASCII,
|
||||
"uidna_IDNToUnicode",uidna_IDNToUnicode);
|
||||
}
|
||||
void TestIDNA::TestRootLabelSeparator(){
|
||||
|
@ -1717,7 +1716,7 @@ void TestIDNA::TestRefIDNA(){
|
|||
testIDNToASCII("idnaref_IDNToASCII", idnaref_IDNToASCII);
|
||||
testIDNToUnicode("idnaref_IDNToUnicode", idnaref_IDNToUnicode);
|
||||
testCompare("idnaref_compare",idnaref_compare);
|
||||
testErrorCases("idnaref_toASCII",idnaref_toASCII, "idnaref_IDNToASCII",idnaref_IDNToASCII,
|
||||
testErrorCases( "idnaref_IDNToASCII",idnaref_IDNToASCII,
|
||||
"idnaref_IDNToUnicode",idnaref_IDNToUnicode);
|
||||
testChaining("idnaref_toASCII",idnaref_toASCII, "idnaref_toUnicode", idnaref_toUnicode);
|
||||
|
||||
|
|
|
@ -87,8 +87,7 @@ private:
|
|||
const char* testName, CompareFunc func,
|
||||
UBool isEqual);
|
||||
|
||||
void testErrorCases(const char* toASCIIName, TestFunc toASCII,
|
||||
const char* IDNToASCIIName, TestFunc IDNToASCII,
|
||||
void testErrorCases(const char* IDNToASCIIName, TestFunc IDNToASCII,
|
||||
const char* IDNToUnicodeName, TestFunc IDNToUnicode);
|
||||
|
||||
void testChaining(UChar* src,int32_t numIterations,const char* testName,
|
||||
|
|
Loading…
Add table
Reference in a new issue