mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-2000 Fixed some compiler warnings.
X-SVN-Rev: 9770
This commit is contained in:
parent
858bac8a72
commit
0e172ed2e9
6 changed files with 14 additions and 5 deletions
|
@ -1337,7 +1337,7 @@ void TestBounds() {
|
|||
ucol_close(coll);
|
||||
}
|
||||
|
||||
void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) {
|
||||
static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) {
|
||||
int32_t skLen = 0, skLen2 = 0;
|
||||
uint8_t sortKey[256];
|
||||
int32_t i, j;
|
||||
|
|
|
@ -25,8 +25,10 @@ void addExtraTests(TestNode** root);
|
|||
U_CFUNC void
|
||||
addBOCU1Tests(TestNode** root);
|
||||
|
||||
void addConvert(TestNode** root);
|
||||
|
||||
void addConvert(TestNode** root)
|
||||
{
|
||||
{
|
||||
addTestConvert(root);
|
||||
addTestNewConvert(root);
|
||||
addBOCU1Tests(root);
|
||||
|
|
|
@ -32,6 +32,10 @@
|
|||
#include "creststn.h"
|
||||
#include "unicode/ctest.h"
|
||||
|
||||
#ifdef ICU_URES_USE_DEPRECATES
|
||||
static void TestConstruction2(void);
|
||||
#endif
|
||||
|
||||
static int32_t pass;
|
||||
static int32_t fail;
|
||||
|
||||
|
|
|
@ -32,8 +32,6 @@ static void TestResourceBundles(void);
|
|||
**/
|
||||
static void TestConstruction1(void);
|
||||
|
||||
static void TestConstruction2(void);
|
||||
|
||||
static void TestAliasConflict(void);
|
||||
|
||||
static void TestFallback(void);
|
||||
|
|
|
@ -32,11 +32,16 @@
|
|||
#include <stdio.h>
|
||||
|
||||
|
||||
#ifdef U_USE_DEPRECATED_UCOL_API
|
||||
static void TestDeprecatedCollationAPI(void);
|
||||
#endif
|
||||
#ifdef U_USE_DEPRECATED_FORMAT_API
|
||||
static void TestDeprecatedNumFmtAPI(void);
|
||||
static void TestDeprecatedDateFmtAPI(void);
|
||||
static void TestDeprecatedUErrorCode(void);
|
||||
static void TestDeprecatedUCharScript(void);
|
||||
#endif
|
||||
|
||||
const static char cnt1[][10] = {
|
||||
"AA",
|
||||
"AC",
|
||||
|
|
|
@ -1054,9 +1054,9 @@ static void TestNewConvertWithBufferSizes(int32_t outsize, int32_t insize )
|
|||
|
||||
static void TestCoverageMBCS(){
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
const char *directory = loadTestData(&status);
|
||||
|
||||
#if 0
|
||||
const char *directory = loadTestData(&status);
|
||||
char* tdpath = NULL;
|
||||
char* saveDirectory = (char*)malloc(sizeof(char) *(strlen(u_getDataDirectory())+1));
|
||||
int len = strlen(directory);
|
||||
|
|
Loading…
Add table
Reference in a new issue