ICU-10977 remove stray #if DEBUG from toolutil/ucbuf.c
X-SVN-Rev: 35947
This commit is contained in:
parent
df08e453dc
commit
9ac287909f
@ -176,7 +176,7 @@ ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){
|
|||||||
memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar));
|
memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if DEBUG
|
#if UCBUF_DEBUG
|
||||||
memset(pTarget+offset,0xff,sizeof(UChar)*(MAX_IN_BUF-offset));
|
memset(pTarget+offset,0xff,sizeof(UChar)*(MAX_IN_BUF-offset));
|
||||||
#endif
|
#endif
|
||||||
if(buf->isBuffered){
|
if(buf->isBuffered){
|
||||||
@ -293,8 +293,7 @@ ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){
|
|||||||
}
|
}
|
||||||
outputWritten = (int32_t)(target - pTarget);
|
outputWritten = (int32_t)(target - pTarget);
|
||||||
|
|
||||||
|
#if UCBUF_DEBUG
|
||||||
#if DEBUG
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
target = pTarget;
|
target = pTarget;
|
||||||
|
Loading…
Reference in New Issue
Block a user