ICU-4078 check for error code

X-SVN-Rev: 16314
This commit is contained in:
Markus Scherer 2004-09-13 23:33:48 +00:00
parent f7b7183d7a
commit 95a00e8e5c

View file

@ -343,6 +343,10 @@ _enumPropertyStartsRange(const void *context, UChar32 start, UChar32 limit, uint
U_CAPI void U_EXPORT2
ucase_addPropertyStarts(const UCaseProps *csp, USetAdder *sa, UErrorCode *pErrorCode) {
if(U_FAILURE(*pErrorCode)) {
return;
}
/* add the start code point of each same-value range of the trie */
utrie_enum(&csp->trie, NULL, _enumPropertyStartsRange, sa);