ICU-2699 Fix some compiler warnings.

X-SVN-Rev: 12490
This commit is contained in:
George Rhoten 2003-06-12 15:52:23 +00:00
parent f78042efe6
commit 86e43b0a97

View file

@ -335,7 +335,7 @@ ucbuf_getc(UCHARBUF* buf,UErrorCode* error){
/* get a UChar32 from the stream*/
U_CAPI int32_t U_EXPORT2
ucbuf_getc32(UCHARBUF* buf,UErrorCode* error){
int32_t retVal =U_EOF;
int32_t retVal = (int32_t)U_EOF;
if(error==NULL || U_FAILURE(*error)){
return FALSE;
}
@ -776,5 +776,7 @@ ucbuf_readline(UCHARBUF* buf,int32_t* len,UErrorCode* err){
}
}
}
return NULL;
/* not reached */
/* A compiler warning will appear if all paths don't contain a return statement. */
/* return NULL;*/
}