summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_helpers.cpp
diff options
context:
space:
mode:
authorStanley Sufficool <ssufficool@php.net>2013-10-05 17:57:23 -0700
committerStanley Sufficool <ssufficool@php.net>2013-10-05 17:57:23 -0700
commit3e023c3ddf9e80046803a989f4951ee16d3b8f9b (patch)
tree602f3b798d09f49f069fd9a046d502931f56c158 /ext/intl/msgformat/msgformat_helpers.cpp
parentb144c263191f857391d3cc009951c95d25a2cdb3 (diff)
parent3261eb348f5aea14f74010d883cfc68978fd8ed9 (diff)
downloadphp-git-3e023c3ddf9e80046803a989f4951ee16d3b8f9b.tar.gz
Merge branch 'master' of https://git.php.net/push/php-src
* 'master' of https://git.php.net/push/php-src: (705 commits) Allow the ldap extension to be compiled with Oracle's LDAP implementation, if desired. Note the implementations differ so you will see different ldap behavior. Fix bug #65667: ftp_nb_continue produces segfault fix bug #64146 (serialize incorrectly saving objects when they are cloned) such a weird hack probably helps in finding regressions in the future Fix bug #65821: By-ref foreach on property access of string offset segfaults Fixed bug #64230 (XMLReader does not suppress errors) add NEWS and UPGRADING about gost-crypto fix bug #55285 XMLReader::getAttribute/No/Ns methods inconsistency typo: really fix bug #51936 Crash with clone xmlreader fix bug #59613 (Crash with clone XMLReader) Fix Bug #60633 build warning in bcmath fix bug #65808 the socket_connect() won't work with IPv6 address 5.4.22-dev now Revert "Make 'make distclean' remove the downloaded pear PHAR" fix bug #62396 'make test' crashes starting with 5.3.14 (missing gzencode()) Fixed bug #61548 Reverted patch (it was used for internal testing and was committed by accident) OCI8 2.0: Added a new oci_set_db_operation() user space function for the "DB Operation" tracing feature of Oracle DB 12c. Make 'make distclean' remove the downloaded pear PHAR fix test ...
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 9ee1cdcfb0..c4456d54f3 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 ||