ICU-3905 Fix some compiler warnings

X-SVN-Rev: 16770
This commit is contained in:
George Rhoten 2004-11-05 18:18:36 +00:00
parent 5fac5d74b6
commit 0da7a95df6

View file

@ -324,14 +324,14 @@ RegexMatcher *RegexPattern::matcher(const UnicodeString &input,
return retMatcher;
};
RegexMatcher *RegexPattern::matcher(const UChar *input,
RegexMatcher *RegexPattern::matcher(const UChar * /*input*/,
UErrorCode &status) const
{
RegexMatcher *retMatcher = NULL;
/* This should never get called. The API with UnicodeString should be called instead. */
if (U_SUCCESS(status)) {
status = U_UNSUPPORTED_ERROR;
}
return retMatcher;
return NULL;
}