From 6f70b217a8d70d51cf37fcc753f03a666d793ada Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 28 Sep 2016 17:28:08 +0000 Subject: [PATCH] ICU-12745 fix for review comments X-SVN-Rev: 39384 --- icu4c/source/common/locid.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/icu4c/source/common/locid.cpp b/icu4c/source/common/locid.cpp index 714776a85c..d2781db95b 100644 --- a/icu4c/source/common/locid.cpp +++ b/icu4c/source/common/locid.cpp @@ -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.