]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/cintltst/uformattedvaluetst.c
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / cintltst / uformattedvaluetst.c
index a5e378664592ecfa946d2e1e8bf516b3392e35c6..392d76e3404aa3c7a112eac3c916413ae120124d 100644 (file)
@@ -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; }