mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-3222 Fix some compiler warnings
X-SVN-Rev: 13933
This commit is contained in:
parent
423411ca70
commit
8cdc6cc850
2 changed files with 3 additions and 7 deletions
|
@ -57,7 +57,7 @@ static UOption options[]={
|
|||
};
|
||||
|
||||
void usageAndDie(int retCode) {
|
||||
printf("Usage: genbrk [-v] [-options] -r rule-file -o output-file\n", progName);
|
||||
printf("Usage: %s [-v] [-options] -r rule-file -o output-file\n", progName);
|
||||
printf("\tRead in break iteration rules text and write out the binary data\n"
|
||||
"options:\n"
|
||||
"\t-h or -? or --help this usage text\n"
|
||||
|
|
|
@ -267,7 +267,6 @@ static int32_t compareCEs(uint32_t *source, uint32_t *target) {
|
|||
}
|
||||
|
||||
static uint32_t addToInverse(UCAElements *element, UErrorCode *status) {
|
||||
uint32_t comp = 0;
|
||||
uint32_t position = inversePos;
|
||||
uint32_t saveElement = element->CEs[0];
|
||||
int32_t compResult = 0;
|
||||
|
@ -917,9 +916,9 @@ struct {
|
|||
fprintf(stderr, "UCA version not specified. Cannot create data file!\n");
|
||||
return -1;
|
||||
}
|
||||
{
|
||||
/* {
|
||||
uint32_t trieWord = utrie_get32(t->mapping, 0xDC01, NULL);
|
||||
}
|
||||
}*/
|
||||
|
||||
if (VERBOSE) {
|
||||
fprintf(stdout, "\nLines read: %i\n", line);
|
||||
|
@ -1036,9 +1035,6 @@ int main(int argc, char* argv[]) {
|
|||
argv[0], u_getDataDirectory());
|
||||
return argc<0 ? U_ILLEGAL_ARGUMENT_ERROR : U_ZERO_ERROR;
|
||||
}
|
||||
{
|
||||
UChar32 tch = U16_GET_SUPPLEMENTARY(0xD801, 0xDC25);
|
||||
}
|
||||
if(options[3].doesOccur) {
|
||||
fprintf(stdout, "genuca version %hu.%hu, ICU tool to read UCA text data and create UCA data tables for collation.\n",
|
||||
#if UCONFIG_NO_COLLATION
|
||||
|
|
Loading…
Add table
Reference in a new issue