]> granicus.if.org Git - icu/commitdiff
ICU-10977 remove stray #if DEBUG from toolutil/ucbuf.c
authorSteven R. Loomis <srl@icu-project.org>
Wed, 25 Jun 2014 21:54:18 +0000 (21:54 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Wed, 25 Jun 2014 21:54:18 +0000 (21:54 +0000)
X-SVN-Rev: 35947

icu4c/source/tools/toolutil/ucbuf.c

index 812f78a73394ba9ccc5f50eba0d1eeb2221863ed..93dbba133dc703e5d43693e121899daa10157b9b 100644 (file)
@@ -176,7 +176,7 @@ ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){
         memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar));
     }
 
-#if DEBUG
+#if UCBUF_DEBUG
     memset(pTarget+offset,0xff,sizeof(UChar)*(MAX_IN_BUF-offset));
 #endif
     if(buf->isBuffered){
@@ -293,8 +293,7 @@ ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){
         }
         outputWritten = (int32_t)(target - pTarget);
 
-
-#if DEBUG
+#if UCBUF_DEBUG
         {
             int i;
             target = pTarget;