ICU-3222 Fix some compiler warnings according to Andy

X-SVN-Rev: 14025
This commit is contained in:
George Rhoten 2003-12-06 00:52:51 +00:00
parent 051c8a350c
commit 8a382db738
4 changed files with 15 additions and 6 deletions

View File

@ -127,8 +127,11 @@ Transliterator* EscapeTransliterator::clone() const {
/**
* Implements {@link Transliterator#handleTransliterate}.
*/
void EscapeTransliterator::handleTransliterate(Replaceable& text, UTransPosition& pos,
UBool isIncremental) const {
void EscapeTransliterator::handleTransliterate(Replaceable& text,
UTransPosition& pos,
UBool /*isIncremental*/) const
{
/* TODO: Verify that isIncremental can be ignored */
int32_t start = pos.start;
int32_t limit = pos.limit;

View File

@ -120,7 +120,9 @@ Transliterator* TitlecaseTransliterator::clone(void) const {
*/
void TitlecaseTransliterator::handleTransliterate(
Replaceable& text, UTransPosition& offsets,
UBool isIncremental) const {
UBool /*isIncremental*/) const
{
/* TODO: Verify that isIncremental can be ignored */
if (SKIP == NULL) {
return;
}

View File

@ -74,8 +74,9 @@ Transliterator* LowercaseTransliterator::clone(void) const {
*/
void LowercaseTransliterator::handleTransliterate(Replaceable& text,
UTransPosition& offsets,
UBool isIncremental) const
UBool /*isIncremental*/) const
{
/* TODO: Verify that isIncremental can be ignored */
int32_t textPos = offsets.start;
if (textPos >= offsets.limit) return;

View File

@ -77,9 +77,12 @@ Transliterator* UppercaseTransliterator::clone(void) const {
*/
void UppercaseTransliterator::handleTransliterate(Replaceable& text,
UTransPosition& offsets,
UBool isIncremental) const {
UBool /*isIncremental*/) const
{
/* TODO: Verify that isIncremental can be ignored */
int32_t textPos = offsets.start;
if (textPos >= offsets.limit) return;
if (textPos >= offsets.limit)
return;
// get string for context