ICU-2000 Fixed some compiler warnings.
X-SVN-Rev: 10552
This commit is contained in:
parent
ca51a22b5b
commit
e7b85bac9a
@ -23,7 +23,12 @@ U_NAMESPACE_BEGIN
|
||||
//=================================================================================
|
||||
|
||||
BreakDictionary::BreakDictionary(const char* /*dictionaryFilename*/, UErrorCode& status)
|
||||
: rowIndex(NULL), table(NULL), columnMap(NULL), rowIndexFlags(NULL), rowIndexFlagsIndex(NULL), rowIndexShifts(NULL)
|
||||
: columnMap(NULL),
|
||||
table(NULL),
|
||||
rowIndex(NULL),
|
||||
rowIndexFlags(NULL),
|
||||
rowIndexFlagsIndex(NULL),
|
||||
rowIndexShifts(NULL)
|
||||
{
|
||||
if (U_FAILURE(status)) return;
|
||||
|
||||
|
@ -50,7 +50,6 @@ uscript_getCode(const char* nameOrAbbrOrLocale,
|
||||
UResourceBundle* resB = ures_open(u_getDataDirectory(),nameOrAbbrOrLocale,&localErrorCode);
|
||||
if(U_SUCCESS(localErrorCode)&& localErrorCode != U_USING_DEFAULT_WARNING){
|
||||
UResourceBundle* resD = ures_getByKey(resB,kLocaleScript,NULL,&localErrorCode);
|
||||
int index =0;
|
||||
if(U_SUCCESS(localErrorCode) ){
|
||||
len =0;
|
||||
while(ures_hasNext(resD)){
|
||||
|
Loading…
Reference in New Issue
Block a user