]> granicus.if.org Git - icu/commitdiff
ICU-11917 fix return from void function
authorMarkus Scherer <markus.icu@gmail.com>
Tue, 22 Sep 2015 21:51:31 +0000 (21:51 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Tue, 22 Sep 2015 21:51:31 +0000 (21:51 +0000)
X-SVN-Rev: 37994

icu4c/source/common/icuplug.cpp

index b73f93caab5c8bccb9eedeaab9961dd5220fc4a1..bca7798e9f789b3c6870d1aa2340ef731a6fcdc3 100644 (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;