default:
// Unknown/unsupported argument type.
- U_ASSERT(FALSE);
- *status=U_ILLEGAL_ARGUMENT_ERROR;
- break;
+ UPRV_UNREACHABLE;
}
}
UnicodeString resultStr;
// support kObject. When MessageFormat is changed to
// understand MeasureFormats, modify this code to do the
// right thing. [alan]
- U_ASSERT(FALSE);
- break;
+ UPRV_UNREACHABLE;
// better not happen!
case Formattable::kArray:
- U_ASSERT(FALSE);
- break;
+ UPRV_UNREACHABLE;
}
}