mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-4425 Fix a variable name typo
X-SVN-Rev: 17397
This commit is contained in:
parent
91e1898ce9
commit
8903eae414
1 changed files with 2 additions and 2 deletions
|
@ -821,8 +821,8 @@ static UResourceBundle *init_resb_result(const ResourceData *rdata, Resource r,
|
|||
}
|
||||
/* Make sure that Purify doesn't complain about uninitialized memory copies. */
|
||||
{
|
||||
int32_t unusedLen = ((resB->fResBuf == resB->fResPath) ? resB->fResPathLen : 0);
|
||||
uprv_memset(resB->fResBuf + unusedLen, 0, sizeof(resB->fResBuf) - unusedLen);
|
||||
int32_t usedLen = ((resB->fResBuf == resB->fResPath) ? resB->fResPathLen : 0);
|
||||
uprv_memset(resB->fResBuf + usedLen, 0, sizeof(resB->fResBuf) - usedLen);
|
||||
}
|
||||
|
||||
resB->fVersion = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue