ICU-535 fixed some compiler warnings

X-SVN-Rev: 2351
This commit is contained in:
George Rhoten 2000-08-24 20:56:13 +00:00
parent 70d0f2d72d
commit a925e45103
3 changed files with 6 additions and 5 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;