ICU-900 Fixed some compiler warnings
X-SVN-Rev: 4774
This commit is contained in:
parent
7310579f02
commit
88ac94a221
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user