X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/a01113dcd0f39d5da295ef82785beff9ed86fe38..HEAD:/icuSources/test/cintltst/uformattedvaluetst.c diff --git a/icuSources/test/cintltst/uformattedvaluetst.c b/icuSources/test/cintltst/uformattedvaluetst.c index a5e37866..392d76e3 100644 --- a/icuSources/test/cintltst/uformattedvaluetst.c +++ b/icuSources/test/cintltst/uformattedvaluetst.c @@ -213,6 +213,7 @@ void checkFormattedValue( UFieldCategory expectedCategory, const UFieldPosition* expectedFieldPositions, int32_t expectedFieldPositionsLength) { + (void)expectedFieldPositionsLength; // suppress compiler warnings about unused variable UErrorCode ec = U_ZERO_ERROR; checkFormattedValueString(message, fv, expectedString, &ec); if (U_FAILURE(ec)) { return; } @@ -244,6 +245,7 @@ void checkMixedFormattedValue( const UChar* expectedString, const UFieldPositionWithCategory* expectedFieldPositions, int32_t length) { + (void)length; // suppress compiler warnings about unused variable UErrorCode ec = U_ZERO_ERROR; checkFormattedValueString(message, fv, expectedString, &ec); if (U_FAILURE(ec)) { return; }