ICU-11917 fix return from void function

X-SVN-Rev: 37994
This commit is contained in:
Markus Scherer 2015-09-22 21:51:31 +00:00
parent 9d080ee08a
commit 949c45546a

View file

@ -313,7 +313,7 @@ static void uplug_queryPlug(UPlugData *plug, UErrorCode *status) {
static void uplug_loadPlug(UPlugData *plug, UErrorCode *status) {
if(U_FAILURE(*status)) {
return NULL;
return;
}
if(!plug->awaitingLoad || (plug->level < UPLUG_LEVEL_LOW) ) { /* shouldn't happen. Plugin hasn'tbeen loaded yet.*/
*status = U_INTERNAL_PROGRAM_ERROR;