mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-900 Fixed some compiler warnings
X-SVN-Rev: 5507
This commit is contained in:
parent
9ab9ba8cbf
commit
db93af919d
1 changed files with 3 additions and 0 deletions
|
@ -475,6 +475,9 @@ NumberFormat::createInstance(const Locale& desiredLocale,
|
|||
if (U_SUCCESS(status)) {
|
||||
f = new DecimalFormat(pattern, symbolsToAdopt, status);
|
||||
}
|
||||
else {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// If the requested style doesn't exist, use a last-resort style.
|
||||
|
|
Loading…
Add table
Reference in a new issue