mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Reduce (some more) compile noise of 'unused variable' and 'may be used
uninitialized' warnings.
This commit is contained in:
parent
4ee1ec4bcf
commit
d5979c88ea
4 changed files with 4 additions and 6 deletions
|
@ -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 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue