ICU-2000 Fixed some compiler warnings.

X-SVN-Rev: 10552
This commit is contained in:
George Rhoten 2002-12-06 23:07:48 +00:00
parent ca51a22b5b
commit e7b85bac9a
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -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)){