]> granicus.if.org Git - icu/commitdiff
ICU-12745 fix for review comments
authorSteven R. Loomis <srl@icu-project.org>
Wed, 28 Sep 2016 17:28:08 +0000 (17:28 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Wed, 28 Sep 2016 17:28:08 +0000 (17:28 +0000)
X-SVN-Rev: 39384

icu4c/source/common/locid.cpp

index 714776a85ceb1187890e1eee34a83f36121bdd28..d2781db95bdd8cf8b4e0c31f9659406add9e299e 100644 (file)
@@ -371,10 +371,6 @@ Locale::Locale( const   char * newLanguage,
             size += ksize + 1;
         }
 
-        if (size < 0) {
-            setToBogus();
-            return;
-        }
         //  NOW we have the full locale string..
         // Now, copy it back.