ICU-2135 Make it easier to step through the code

X-SVN-Rev: 10336
This commit is contained in:
George Rhoten 2002-11-22 08:27:12 +00:00
parent 46a13197c7
commit 4cd0cba09c
2 changed files with 8 additions and 10 deletions

View File

@ -71,7 +71,8 @@ T_FileStream_wopen(const wchar_t* filename, const wchar_t* mode)
U_CAPI void U_EXPORT2
T_FileStream_close(FileStream* fileStream)
{
if (fileStream != 0) fclose((FILE*)fileStream);
if (fileStream != 0)
fclose((FILE*)fileStream);
}
U_CAPI UBool U_EXPORT2

View File

@ -545,9 +545,6 @@ ucbuf_close(UCHARBUF* buf){
if(buf->conv){
ucnv_close(buf->conv);
}
buf->in=NULL;
buf->currentPos=NULL;
buf->bufLimit=NULL;
T_FileStream_close(buf->in);
ucbuf_closebuf(buf);
uprv_free(buf);