mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19639
This commit is contained in:
parent
09999a3f5e
commit
f2ecbc7d10
1 changed files with 3 additions and 0 deletions
|
@ -180,6 +180,9 @@ utext_current32(UText *ut) {
|
|||
UBool r = ut->access(ut, nativePosition, FALSE); // reverse iteration flag loads preceding chunk
|
||||
U_ASSERT(r==TRUE);
|
||||
ut->chunkOffset = originalOffset;
|
||||
if(!r) {
|
||||
return U_SENTINEL;
|
||||
}
|
||||
}
|
||||
|
||||
if (U16_IS_TRAIL(trail)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue