ICU-5426 Fix compiler warnings from last check in.
X-SVN-Rev: 20483
This commit is contained in:
parent
77c7e47080
commit
c5406f3b0c
@ -139,7 +139,7 @@ static int8_t U_CALLCONV compareUnicodeString(UHashTok t1, UHashTok t2) {
|
||||
*/
|
||||
UnicodeSet::UnicodeSet() :
|
||||
len(1), capacity(1 + START_EXTRA), list(0), buffer(0),
|
||||
bufferCapacity(0), patLen(0), strings(NULL), pat(NULL)
|
||||
bufferCapacity(0), patLen(0), pat(NULL), strings(NULL)
|
||||
{
|
||||
list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity);
|
||||
if(list!=NULL){
|
||||
@ -159,7 +159,7 @@ UnicodeSet::UnicodeSet() :
|
||||
*/
|
||||
UnicodeSet::UnicodeSet(UChar32 start, UChar32 end) :
|
||||
len(1), capacity(1 + START_EXTRA), list(0), buffer(0),
|
||||
bufferCapacity(0), patLen(0), strings(NULL), pat(NULL)
|
||||
bufferCapacity(0), patLen(0), pat(NULL), strings(NULL)
|
||||
{
|
||||
list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity);
|
||||
if(list!=NULL){
|
||||
@ -178,7 +178,7 @@ UnicodeSet::UnicodeSet(UChar32 start, UChar32 end) :
|
||||
UnicodeSet::UnicodeSet(const UnicodeSet& o) :
|
||||
UnicodeFilter(o),
|
||||
len(0), capacity(o.len + GROW_EXTRA), list(0), buffer(0),
|
||||
bufferCapacity(0), patLen(0), strings(NULL), pat(NULL)
|
||||
bufferCapacity(0), patLen(0), pat(NULL), strings(NULL)
|
||||
{
|
||||
list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity);
|
||||
if(list!=NULL){
|
||||
|
@ -247,7 +247,7 @@ isPOSIXClose(const UnicodeString &pattern, int32_t pos) {
|
||||
UnicodeSet::UnicodeSet(const UnicodeString& pattern,
|
||||
UErrorCode& status) :
|
||||
len(0), capacity(START_EXTRA), list(0), buffer(0),
|
||||
bufferCapacity(0), patLen(0), strings(NULL), pat(NULL)
|
||||
bufferCapacity(0), patLen(0), pat(NULL), strings(NULL)
|
||||
{
|
||||
if(U_SUCCESS(status)){
|
||||
list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity);
|
||||
@ -275,7 +275,7 @@ UnicodeSet::UnicodeSet(const UnicodeString& pattern,
|
||||
const SymbolTable* symbols,
|
||||
UErrorCode& status) :
|
||||
len(0), capacity(START_EXTRA), list(0), buffer(0),
|
||||
bufferCapacity(0), patLen(0), strings(NULL), pat(NULL)
|
||||
bufferCapacity(0), patLen(0), pat(NULL), strings(NULL)
|
||||
{
|
||||
if(U_SUCCESS(status)){
|
||||
list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity);
|
||||
@ -295,7 +295,7 @@ UnicodeSet::UnicodeSet(const UnicodeString& pattern, ParsePosition& pos,
|
||||
const SymbolTable* symbols,
|
||||
UErrorCode& status) :
|
||||
len(0), capacity(START_EXTRA), list(0), buffer(0),
|
||||
bufferCapacity(0), patLen(0), strings(NULL), pat(NULL)
|
||||
bufferCapacity(0), patLen(0), pat(NULL), strings(NULL)
|
||||
{
|
||||
if(U_SUCCESS(status)){
|
||||
list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity);
|
||||
|
Loading…
Reference in New Issue
Block a user