ICU-13415 Fixing compiler warnings in GCC

X-SVN-Rev: 40614
This commit is contained in:
Shane Carr 2017-10-11 21:28:38 +00:00
parent 8d917a5a26
commit 3db8233029
2 changed files with 2 additions and 0 deletions

View File

@ -1383,6 +1383,7 @@ CjkBreakEngine::divideUpDictionaryRange( UText *inText,
prevCPPos = cpPos;
prevUTextPos = utextPos;
}
(void)prevCPPos; // suppress compiler warnings about unused variable
// inString goes out of scope
// inputMap goes out of scope

View File

@ -316,6 +316,7 @@ void CompactHandler::processQuantity(DecimalQuantity &quantity, MicroProps &micr
}
// FIXME: Deal with numDigits == 0 (Awaiting a test case)
(void)numDigits;
// We already performed rounding. Do not perform it again.
micros.rounding = Rounder::constructPassThrough();