ICU-3222 Fix some compiler warnings according to Andy
X-SVN-Rev: 14025
This commit is contained in:
parent
051c8a350c
commit
8a382db738
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user