mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 14:31:31 +00:00
ICU-1007 avoid gcc warnings
X-SVN-Rev: 5519
This commit is contained in:
parent
48019cd625
commit
6c890043bb
2 changed files with 21 additions and 0 deletions
|
@ -784,6 +784,9 @@ UChar32 Normalizer:: current() const
|
|||
case DECOMP_COMPAT:
|
||||
nonConst->currentChar = nonConst->nextDecomp();
|
||||
break;
|
||||
case FCD:
|
||||
/* ### TODO */
|
||||
break;
|
||||
}
|
||||
}
|
||||
return currentChar;
|
||||
|
@ -834,6 +837,9 @@ UChar32 Normalizer::next() {
|
|||
case DECOMP_COMPAT:
|
||||
currentChar = nextDecomp();
|
||||
break;
|
||||
case FCD:
|
||||
/* ### TODO */
|
||||
break;
|
||||
}
|
||||
}
|
||||
return currentChar;
|
||||
|
@ -864,6 +870,9 @@ UChar32 Normalizer::previous()
|
|||
case DECOMP_COMPAT:
|
||||
currentChar = prevDecomp();
|
||||
break;
|
||||
case FCD:
|
||||
/* ### TODO */
|
||||
break;
|
||||
}
|
||||
}
|
||||
return currentChar;
|
||||
|
|
|
@ -776,6 +776,10 @@ unorm_decompose(UChar *dest, int32_t destCapacity,
|
|||
destIndex=0;
|
||||
prevCC=0;
|
||||
|
||||
/* avoid compiler warnings */
|
||||
norm32=0;
|
||||
c=0;
|
||||
|
||||
/* do not attempt to grow if there is no growBuffer function or if it has failed before */
|
||||
canGrow=(UBool)(growBuffer!=NULL);
|
||||
|
||||
|
@ -1181,6 +1185,10 @@ unorm_makeFCD(UChar *dest, int32_t destCapacity,
|
|||
destIndex=0;
|
||||
prevCC=0;
|
||||
|
||||
/* avoid compiler warnings */
|
||||
c=0;
|
||||
fcd16=0;
|
||||
|
||||
/* do not attempt to grow if there is no growBuffer function or if it has failed before */
|
||||
canGrow=(UBool)(growBuffer!=NULL);
|
||||
|
||||
|
@ -2020,6 +2028,10 @@ unorm_compose(UChar *dest, int32_t destCapacity,
|
|||
destIndex=0;
|
||||
prevCC=0;
|
||||
|
||||
/* avoid compiler warnings */
|
||||
norm32=0;
|
||||
c=0;
|
||||
|
||||
/* do not attempt to grow if there is no growBuffer function or if it has failed before */
|
||||
canGrow=(UBool)(growBuffer!=NULL);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue