mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-4707 remove unused code from uchar_swapNames()
X-SVN-Rev: 19410
This commit is contained in:
parent
92a50f8a73
commit
1d5b134af8
1 changed files with 0 additions and 8 deletions
|
@ -2047,14 +2047,6 @@ uchar_swapNames(const UDataSwapper *ds,
|
|||
uint32_t factorsCount;
|
||||
|
||||
factorsCount=inRange->variant;
|
||||
if(factorsCount==0) {
|
||||
udata_printError(ds, "uchar_swapNames(): incorrect number of factors (%u) in algorithmic range %u\n",
|
||||
factorsCount, i);
|
||||
*pErrorCode=U_INDEX_OUTOFBOUNDS_ERROR;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* read and swap the factors */
|
||||
p=(const uint16_t *)(inRange+1);
|
||||
q=(uint16_t *)(outRange+1);
|
||||
ds->swapArray16(ds, p, (int32_t)(factorsCount*2), q, pErrorCode);
|
||||
|
|
Loading…
Add table
Reference in a new issue