mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-900 Fixed some compiler warnings
X-SVN-Rev: 7026
This commit is contained in:
parent
7b86683351
commit
a7b262eacf
2 changed files with 6 additions and 2 deletions
icu4c/source/i18n
|
@ -69,9 +69,11 @@ Transliterator* UnicodeNameTransliterator::clone(void) const {
|
|||
|
||||
/**
|
||||
* Implements {@link Transliterator#handleTransliterate}.
|
||||
* Ignore isIncremental since we don't need the context, and
|
||||
* we work on codepoints.
|
||||
*/
|
||||
void UnicodeNameTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets,
|
||||
UBool isIncremental) const {
|
||||
UBool /*isIncremental*/) const {
|
||||
// As of Unicode 3.0.0, the longest name is 83 characters long.
|
||||
// Adjust this buffer size as needed.
|
||||
char buf[128];
|
||||
|
|
|
@ -23,9 +23,11 @@ TransformTransliterator::TransformTransliterator(const UnicodeString& id,
|
|||
|
||||
/**
|
||||
* Implements {@link Transliterator#handleTransliterate}.
|
||||
* Ignore isIncremental since we don't need the context, and
|
||||
* we work on codepoints.
|
||||
*/
|
||||
void TransformTransliterator::handleTransliterate(Replaceable& text, UTransPosition& offsets,
|
||||
UBool isIncremental) const {
|
||||
UBool /*isIncremental*/) const {
|
||||
|
||||
int32_t start;
|
||||
for (start = offsets.start; start < offsets.limit; ++start) {
|
||||
|
|
Loading…
Add table
Reference in a new issue