From a7b262eacf6c3f4900f7fdde9e0bd83478db4fb1 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 20 Nov 2001 18:59:58 +0000 Subject: [PATCH] ICU-900 Fixed some compiler warnings X-SVN-Rev: 7026 --- icu4c/source/i18n/uni2name.cpp | 4 +++- icu4c/source/i18n/xformtrn.cpp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/icu4c/source/i18n/uni2name.cpp b/icu4c/source/i18n/uni2name.cpp index 19ff6055071..33d9ebb4b50 100644 --- a/icu4c/source/i18n/uni2name.cpp +++ b/icu4c/source/i18n/uni2name.cpp @@ -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]; diff --git a/icu4c/source/i18n/xformtrn.cpp b/icu4c/source/i18n/xformtrn.cpp index b9ff855288e..015ea163c6c 100644 --- a/icu4c/source/i18n/xformtrn.cpp +++ b/icu4c/source/i18n/xformtrn.cpp @@ -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) {