ICU-8295 Put UCOL_DEBUG define statement around printf calls

X-SVN-Rev: 29674
This commit is contained in:
Michael Ow 2011-03-19 04:34:31 +00:00
parent 45dd32ab8a
commit 44cf03ad83

View File

@ -7158,10 +7158,12 @@ ucol_getReorderCodes(const UCollator *coll,
*pErrorCode = U_ILLEGAL_ARGUMENT_ERROR;
return 0;
}
#ifdef UCOL_DEBUG
printf("coll->reorderCodesLength = %d\n", coll->reorderCodesLength);
printf("coll->defaultReorderCodesLength = %d\n", coll->defaultReorderCodesLength);
#endif
if (coll->reorderCodesLength > destCapacity) {
*pErrorCode = U_BUFFER_OVERFLOW_ERROR;
return coll->reorderCodesLength;