ICU-900 Fixed some compiler warnings

X-SVN-Rev: 4774
This commit is contained in:
George Rhoten 2001-05-23 20:32:44 +00:00
parent 7310579f02
commit 88ac94a221
2 changed files with 3 additions and 3 deletions

View File

@ -231,7 +231,7 @@ void addAllCollTest(TestNode** root)
addTest(root, &TestSurrogates, "tscoll/callcoll/TestSurrogates");
}
void doTestVariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result)
static void doTestVariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result)
{
int32_t sortklen1, sortklen2, sortklenmax, sortklenmin;
int temp=0, gSortklen1=0,gSortklen2=0;

View File

@ -605,7 +605,7 @@ compress() {
static void
compressLines() {
Line *line;
Line *line=NULL;
uint32_t i=0, inLine, outLine=0xffffffff /* (uint32_t)(-1) */,
groupMSB=0xffff, lineCount2;
int16_t groupTop=0;
@ -657,7 +657,7 @@ compressLines() {
}
/* finish and store the last group */
if(groupMSB!=0xffff) {
if(line && groupMSB!=0xffff) {
/* finish the current group with empty lines */
while((++outLine&GROUP_MASK)!=0) {
appendLineLength(0);