projects
/
apple
/
icu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ICU-66108.tar.gz
[apple/icu.git]
/
icuSources
/
test
/
cintltst
/
uformattedvaluetst.c
diff --git
a/icuSources/test/cintltst/uformattedvaluetst.c
b/icuSources/test/cintltst/uformattedvaluetst.c
index a5e378664592ecfa946d2e1e8bf516b3392e35c6..392d76e3404aa3c7a112eac3c916413ae120124d 100644
(file)
--- 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) {
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; }
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) {
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; }
UErrorCode ec = U_ZERO_ERROR;
checkFormattedValueString(message, fv, expectedString, &ec);
if (U_FAILURE(ec)) { return; }