ICU-3499 Increase code coverage. Don't output debugging information

X-SVN-Rev: 15431
This commit is contained in:
George Rhoten 2004-05-20 18:22:13 +00:00
parent 7a13cf6dca
commit 607e98f113

View file

@ -68,7 +68,7 @@ u_fsettransliterator(UFILE *file, UFileDirection direction,
{
UTransliterator *old = NULL;
if(file==NULL || U_FAILURE(*status))
if(U_FAILURE(*status))
{
return adopt;
}
@ -192,14 +192,6 @@ static const UChar * u_file_translit(UFILE *f, const UChar *src, int32_t *count,
&pos,
&status);
#ifdef _DEBUG
if(U_FAILURE(status))
{
fprintf(stderr, " Gack. Translit blew up with a %s\n", u_errorName(status));
return src;
}
#endif
/* now: start/limit point to the transliterated text */
/* Transliterated is [buffer..pos.start) */
*count = pos.start;
@ -221,14 +213,6 @@ static const UChar * u_file_translit(UFILE *f, const UChar *src, int32_t *count,
&textLimit,
&status);
#ifdef _DEBUG
if(U_FAILURE(status))
{
fprintf(stderr, " Gack. Translit(flush) blew up with a %s\n", u_errorName(status));
return src;
}
#endif
/* out: converted len */
*count = textLimit;