Skip to content

Commit

Permalink
Suppress unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Sep 17, 2024
1 parent 176a232 commit 1f96296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icu4c/source/i18n/messageformat2_function_registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ static double parseNumberLiteral(const FormattedPlaceholder& input, UErrorCode&
int32_t bufferLen = inputStr.extract(0, len, target.getAlias());
U_ASSERT(bufferLen == len);
double result = converter.StringToDouble(target.getAlias(),
len,
bufferLen,
&processedCharactersCount);
if (processedCharactersCount != len) {
errorCode = U_MF_OPERAND_MISMATCH_ERROR;
Expand Down

0 comments on commit 1f96296

Please sign in to comment.