Reduce (some more) compile noise of 'unused variable' and 'may be used

uninitialized' warnings.
This commit is contained in:
Christopher Jones 2013-08-19 17:17:54 -07:00
parent 4ee1ec4bcf
commit d5979c88ea
4 changed files with 4 additions and 6 deletions

View file

@ -487,7 +487,7 @@ U_CFUNC void umsg_format_helper(MessageFormatter_object *mfo,
}
case Formattable::kLong:
{
int32_t tInt32;
int32_t tInt32 = 0;
retry_klong:
if (Z_TYPE_PP(elem) == IS_DOUBLE) {
if (Z_DVAL_PP(elem) > (double)INT32_MAX ||
@ -517,7 +517,7 @@ retry_klong:
}
case Formattable::kInt64:
{
int64_t tInt64;
int64_t tInt64 = 0;
retry_kint64:
if (Z_TYPE_PP(elem) == IS_DOUBLE) {
if (Z_DVAL_PP(elem) > (double)U_INT64_MAX ||