summaryrefslogtreecommitdiff
path: root/thirdparty/icu4c/common/uresdata.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-04-22 16:24:31 +0200
committerGitHub <noreply@github.com>2021-04-22 16:24:31 +0200
commit3f270022d2c1c14062bdc22f1c63d2d8bc21dd58 (patch)
treed12402a7b6881fe6f1f8c33228d5b1054c7942f0 /thirdparty/icu4c/common/uresdata.cpp
parent77a876c6e1c9eb60abbd9ad6f6ba6d9bc0af14e1 (diff)
parentb56241f22f96826ef9ef38cf7e4312b899f8e241 (diff)
Merge pull request #48088 from bruvzg/icu_update_69_1
ICU: Update to version 69.1, improve ICU data export process.
Diffstat (limited to 'thirdparty/icu4c/common/uresdata.cpp')
-rw-r--r--thirdparty/icu4c/common/uresdata.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/thirdparty/icu4c/common/uresdata.cpp b/thirdparty/icu4c/common/uresdata.cpp
index ae731e4544..9af081be40 100644
--- a/thirdparty/icu4c/common/uresdata.cpp
+++ b/thirdparty/icu4c/common/uresdata.cpp
@@ -960,14 +960,6 @@ res_findResource(const ResourceData *pResData, Resource r, char** path, const ch
if(URES_IS_TABLE(type)) {
*key = pathP;
t2 = res_getTableItemByKey(pResData, t1, &indexR, key);
- if(t2 == RES_BOGUS) {
- /* if we fail to get the resource by key, maybe we got an index */
- indexR = uprv_strtol(pathP, &closeIndex, 10);
- if(indexR >= 0 && *closeIndex == 0 && (*pathP != '0' || closeIndex - pathP == 1)) {
- /* if we indeed have an index, try to get the item by index */
- t2 = res_getTableItemByIndex(pResData, t1, indexR, key);
- } // else t2 is already RES_BOGUS
- }
} else if(URES_IS_ARRAY(type)) {
indexR = uprv_strtol(pathP, &closeIndex, 10);
if(indexR >= 0 && *closeIndex == 0) {