ICU-900 Fixed some compiler warnings

X-SVN-Rev: 7026
This commit is contained in:
George Rhoten 2001-11-20 18:59:58 +00:00
parent 7b86683351
commit a7b262eacf
2 changed files with 6 additions and 2 deletions
icu4c/source/i18n

View file

@ -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];

View file

@ -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) {