mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 12445
This commit is contained in:
parent
9ae7f6b85a
commit
cbfd3c445e
1 changed files with 40 additions and 20 deletions
|
@ -116,10 +116,14 @@ DecimalFormat::DecimalFormat(UErrorCode& status)
|
|||
fNegPrefixPattern(0),
|
||||
fNegSuffixPattern(0),
|
||||
fCurrencyChoice(0),
|
||||
fSymbols(0), fFormatWidth(0),
|
||||
fPad(0), fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),fMultiplier(0),
|
||||
fGroupingSize(0),fGroupingSize2(0)
|
||||
fMultiplier(0),
|
||||
fGroupingSize(0),
|
||||
fGroupingSize2(0),
|
||||
fSymbols(0),
|
||||
fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),
|
||||
fPad(0),
|
||||
fFormatWidth(0)
|
||||
{
|
||||
UParseError parseError;
|
||||
construct(status, parseError);
|
||||
|
@ -137,10 +141,14 @@ DecimalFormat::DecimalFormat(const UnicodeString& pattern,
|
|||
fNegPrefixPattern(0),
|
||||
fNegSuffixPattern(0),
|
||||
fCurrencyChoice(0),
|
||||
fSymbols(0), fFormatWidth(0),
|
||||
fPad(0), fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),fMultiplier(0),
|
||||
fGroupingSize(0),fGroupingSize2(0)
|
||||
fMultiplier(0),
|
||||
fGroupingSize(0),
|
||||
fGroupingSize2(0),
|
||||
fSymbols(0),
|
||||
fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),
|
||||
fPad(0),
|
||||
fFormatWidth(0)
|
||||
{
|
||||
UParseError parseError;
|
||||
construct(status, parseError, &pattern);
|
||||
|
@ -160,10 +168,14 @@ DecimalFormat::DecimalFormat(const UnicodeString& pattern,
|
|||
fNegPrefixPattern(0),
|
||||
fNegSuffixPattern(0),
|
||||
fCurrencyChoice(0),
|
||||
fSymbols(0), fFormatWidth(0),
|
||||
fPad(0), fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),fMultiplier(0),
|
||||
fGroupingSize(0),fGroupingSize2(0)
|
||||
fMultiplier(0),
|
||||
fGroupingSize(0),
|
||||
fGroupingSize2(0),
|
||||
fSymbols(0),
|
||||
fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),
|
||||
fPad(0),
|
||||
fFormatWidth(0)
|
||||
{
|
||||
UParseError parseError;
|
||||
if (symbolsToAdopt == NULL)
|
||||
|
@ -181,10 +193,14 @@ DecimalFormat::DecimalFormat( const UnicodeString& pattern,
|
|||
fNegPrefixPattern(0),
|
||||
fNegSuffixPattern(0),
|
||||
fCurrencyChoice(0),
|
||||
fSymbols(0), fFormatWidth(0),
|
||||
fPad(0), fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),fMultiplier(0),
|
||||
fGroupingSize(0),fGroupingSize2(0)
|
||||
fMultiplier(0),
|
||||
fGroupingSize(0),
|
||||
fGroupingSize2(0),
|
||||
fSymbols(0),
|
||||
fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),
|
||||
fPad(0),
|
||||
fFormatWidth(0)
|
||||
{
|
||||
if (symbolsToAdopt == NULL)
|
||||
status = U_ILLEGAL_ARGUMENT_ERROR;
|
||||
|
@ -204,10 +220,14 @@ DecimalFormat::DecimalFormat(const UnicodeString& pattern,
|
|||
fNegPrefixPattern(0),
|
||||
fNegSuffixPattern(0),
|
||||
fCurrencyChoice(0),
|
||||
fSymbols(0), fFormatWidth(0),
|
||||
fPad(0), fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),fMultiplier(0),
|
||||
fGroupingSize(0),fGroupingSize2(0)
|
||||
fMultiplier(0),
|
||||
fGroupingSize(0),
|
||||
fGroupingSize2(0),
|
||||
fSymbols(0),
|
||||
fMinExponentDigits(0),
|
||||
fRoundingIncrement(0),
|
||||
fPad(0),
|
||||
fFormatWidth(0)
|
||||
{
|
||||
UParseError parseError;
|
||||
construct(status, parseError, &pattern, new DecimalFormatSymbols(symbols));
|
||||
|
|
Loading…
Add table
Reference in a new issue