mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 12490
This commit is contained in:
parent
f78042efe6
commit
86e43b0a97
1 changed files with 4 additions and 2 deletions
|
@ -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;*/
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue