diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-07-09 16:05:55 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-07-09 16:05:55 +0400 |
commit | 9d6e45a0ee84030f125ec6d49da07796977a2a29 (patch) | |
tree | ea6193c52c6544f90991fc5f87f2a83507c4a5ce /main/snprintf.c | |
parent | d085f79aea4ff900592c0eada5d44bf97744efe4 (diff) | |
download | php-git-9d6e45a0ee84030f125ec6d49da07796977a2a29.tar.gz |
Changed zend_make_printable_zval() to return "use_copy" instead of additional reference argument.
Improved branch prediction.
Diffstat (limited to 'main/snprintf.c')
-rw-r--r-- | main/snprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/snprintf.c b/main/snprintf.c index 1c73dcdcb7..f26206d851 100644 --- a/main/snprintf.c +++ b/main/snprintf.c @@ -783,7 +783,7 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) / switch (*fmt) { case 'Z': zvp = (zval*) va_arg(ap, zval*); - zend_make_printable_zval(zvp, &zcopy, &free_zcopy); + free_zcopy = zend_make_printable_zval(zvp, &zcopy); if (free_zcopy) { zvp = &zcopy; } |