mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-535 fixed some compiler warnings
X-SVN-Rev: 2351
This commit is contained in:
parent
70d0f2d72d
commit
a925e45103
3 changed files with 6 additions and 5 deletions
|
@ -136,9 +136,10 @@ CollationElementIterator::CollationElementIterator( const CharacterIterator& sou
|
|||
}
|
||||
|
||||
CollationElementIterator::CollationElementIterator(const CollationElementIterator& other)
|
||||
: ownBuffer(new VectorOfInt(2)),
|
||||
: text(0),
|
||||
ownBuffer(new VectorOfInt(2)),
|
||||
reorderBuffer(0),
|
||||
expIndex(other.expIndex), text(0)
|
||||
expIndex(other.expIndex)
|
||||
{
|
||||
*this = other;
|
||||
}
|
||||
|
|
|
@ -128,7 +128,7 @@ UnicodeString* CompoundTransliterator::split(const UnicodeString& s,
|
|||
* Copy constructor.
|
||||
*/
|
||||
CompoundTransliterator::CompoundTransliterator(const CompoundTransliterator& t) :
|
||||
Transliterator(t), trans(0), count(0), filters(0) {
|
||||
Transliterator(t), trans(0), filters(0), count(0) {
|
||||
*this = t;
|
||||
}
|
||||
|
||||
|
|
|
@ -213,12 +213,12 @@ DecimalFormat::construct(UErrorCode& status,
|
|||
|
||||
DecimalFormat::~DecimalFormat()
|
||||
{
|
||||
delete fSymbols;
|
||||
delete fDigitList;
|
||||
delete fPosPrefixPattern;
|
||||
delete fPosSuffixPattern;
|
||||
delete fNegPrefixPattern;
|
||||
delete fNegSuffixPattern;
|
||||
delete fSymbols;
|
||||
delete fRoundingIncrement;
|
||||
}
|
||||
|
||||
|
@ -227,12 +227,12 @@ DecimalFormat::~DecimalFormat()
|
|||
|
||||
DecimalFormat::DecimalFormat(const DecimalFormat &source)
|
||||
: NumberFormat(source),
|
||||
fSymbols(NULL),
|
||||
fDigitList(NULL),
|
||||
fPosPrefixPattern(NULL),
|
||||
fPosSuffixPattern(NULL),
|
||||
fNegPrefixPattern(NULL),
|
||||
fNegSuffixPattern(NULL),
|
||||
fSymbols(NULL),
|
||||
fRoundingIncrement(NULL)
|
||||
{
|
||||
*this = source;
|
||||
|
|
Loading…
Add table
Reference in a new issue