From e7ca744bbdb1b0218b6d91edc85b47c559182a4a Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Tue, 5 Jun 2012 20:08:04 +0000 Subject: [PATCH] ICU-9265 Removed _isAttributeSubtag, which is no longer used, from uloc_tag.c X-SVN-Rev: 31907 --- icu4c/source/common/uloc_tag.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/icu4c/source/common/uloc_tag.c b/icu4c/source/common/uloc_tag.c index 1bc32c2c93..d62346f27f 100644 --- a/icu4c/source/common/uloc_tag.c +++ b/icu4c/source/common/uloc_tag.c @@ -309,20 +309,6 @@ _isPrivateuseVariantSubtag(const char* s, int32_t len) { return FALSE; } -static UBool -_isAttributeSubtag(const char* s, int32_t len) { - /* - * attribute = 3*8alphanum - */ - if (len < 0) { - len = (int32_t)uprv_strlen(s); - } - if (len >= 3 && len <= 8 && _isAlphaNumericString(s, len)) { - return TRUE; - } - return FALSE; -} - static UBool _isExtensionSingleton(const char* s, int32_t len) { /*