Fix compiler warnings in ext/intl

I don't really get why these didn't show up before.
This commit is contained in:
Nikita Popov 2021-09-16 11:17:24 +02:00
parent d5ee081cfd
commit 410bdaba3f
4 changed files with 7 additions and 7 deletions

View file

@ -36,14 +36,14 @@ using icu::UCharCharacterIterator;
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CodePointBreakIterator)
CodePointBreakIterator::CodePointBreakIterator()
: BreakIterator(), fCharIter(NULL), lastCodePoint(U_SENTINEL)
: BreakIterator(), lastCodePoint(U_SENTINEL), fCharIter(NULL)
{
UErrorCode uec = UErrorCode();
this->fText = utext_openUChars(NULL, NULL, 0, &uec);
}
CodePointBreakIterator::CodePointBreakIterator(const PHP::CodePointBreakIterator &other)
: BreakIterator(other), fText(NULL), fCharIter(NULL), lastCodePoint(U_SENTINEL)
: BreakIterator(other), fText(NULL), lastCodePoint(U_SENTINEL), fCharIter(NULL)
{
*this = other;
}