mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 14:31:31 +00:00
ICU-900 Fix some compiler warnings.
X-SVN-Rev: 8901
This commit is contained in:
parent
d323a9da62
commit
31903ee436
3 changed files with 6 additions and 4 deletions
|
@ -248,7 +248,7 @@ decodeBocu1(Bocu1Rx *pRx, uint8_t b);
|
|||
* @param c current code point, 0..0x10ffff
|
||||
* @return "previous code point" state value
|
||||
*/
|
||||
U_INLINE int32_t
|
||||
static U_INLINE int32_t
|
||||
bocu1Prev(int32_t c) {
|
||||
/* compute new prev */
|
||||
if(0x3040<=c && c<=0x309f) {
|
||||
|
@ -1005,8 +1005,10 @@ TestBOCU1(void) {
|
|||
ucnv_close(bocu1);
|
||||
}
|
||||
|
||||
U_CFUNC void addBOCU1Tests(TestNode** root);
|
||||
|
||||
U_CFUNC void
|
||||
addBOCU1Tests(TestNode** root) {
|
||||
addBOCU1Tests(TestNode** root) {
|
||||
addTest(root, TestBOCU1RefDiff, "tsconv/bocu1tst/TestBOCU1RefDiff");
|
||||
addTest(root, TestBOCU1, "tsconv/bocu1tst/TestBOCU1");
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ DataDrivenCollatorTest::~DataDrivenCollatorTest()
|
|||
delete driver;
|
||||
}
|
||||
|
||||
void DataDrivenCollatorTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
|
||||
void DataDrivenCollatorTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par */)
|
||||
{
|
||||
if(driver != NULL) {
|
||||
if (exec)
|
||||
|
|
|
@ -25,7 +25,7 @@ class DataDrivenCollatorTest: public IntlTestCollator {
|
|||
void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL );
|
||||
public:
|
||||
DataDrivenCollatorTest();
|
||||
~DataDrivenCollatorTest();
|
||||
virtual ~DataDrivenCollatorTest();
|
||||
protected:
|
||||
|
||||
void DataDrivenTest(char *par);
|
||||
|
|
Loading…
Add table
Reference in a new issue