summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_helpers.cpp
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-09-27 11:27:58 +0200
committerOndřej Surý <ondrej@sury.org>2013-09-27 11:27:58 +0200
commit1fd24dd3e14010b82febd3e300599f8d8f9c592c (patch)
tree60d089e947831184a569c1db6c23e45e18d46723 /ext/intl/msgformat/msgformat_helpers.cpp
parent9989e8bb3d7b37e3b3b351feece5ed4346174ccf (diff)
downloadphp-1fd24dd3e14010b82febd3e300599f8d8f9c592c.tar.gz
New upstream version 5.5.4+dfsgupstream/5.5.4+dfsg
Diffstat (limited to 'ext/intl/msgformat/msgformat_helpers.cpp')
-rw-r--r--ext/intl/msgformat/msgformat_helpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/msgformat/msgformat_helpers.cpp b/ext/intl/msgformat/msgformat_helpers.cpp
index 9ee1cdcfb..c4456d54f 100644
--- a/ext/intl/msgformat/msgformat_helpers.cpp
+++ b/ext/intl/msgformat/msgformat_helpers.cpp
@@ -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 ||