mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-13816 Windows compiler warning fix.
X-SVN-Rev: 41504
This commit is contained in:
parent
c0f9d2eeef
commit
2f534730c9
2 changed files with 4 additions and 2 deletions
|
@ -385,7 +385,8 @@ UnicodeString Win32DateFormat::setTimeZoneInfo(TIME_ZONE_INFORMATION *tzi, const
|
|||
for (int z = 0; z < ec; z += 1) {
|
||||
UnicodeString equiv = TimeZone::getEquivalentID(icuid, z);
|
||||
|
||||
if (found = uprv_getWindowsTimeZoneInfo(tzi, equiv.getBuffer(), equiv.length())) {
|
||||
found = uprv_getWindowsTimeZoneInfo(tzi, equiv.getBuffer(), equiv.length());
|
||||
if (found) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,8 @@ void Win32DateTimeTest::testLocales(DateFormatTest *log)
|
|||
for (int z = 0; z < ec; z += 1) {
|
||||
UnicodeString equiv = TimeZone::getEquivalentID(zoneID, z);
|
||||
|
||||
if (found = uprv_getWindowsTimeZoneInfo(&tzi, equiv.getBuffer(), equiv.length())) {
|
||||
found = uprv_getWindowsTimeZoneInfo(&tzi, equiv.getBuffer(), equiv.length());
|
||||
if (found) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue