1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00

Reduce variable scope

This commit is contained in:
Anatol Belski
2018-02-15 21:26:01 +01:00
parent 567d01ae20
commit 9258be351f
+1 -2
View File
@@ -382,13 +382,12 @@ zval* collator_convert_string_to_number_if_possible( zval* str, zval *rv )
zval* collator_make_printable_zval( zval* arg, zval *rv)
{
zval arg_copy;
int use_copy = 0;
zval* str = NULL;
if( Z_TYPE_P(arg) != IS_STRING )
{
use_copy = zend_make_printable_zval(arg, &arg_copy);
int use_copy = zend_make_printable_zval(arg, &arg_copy);
if( use_copy )
{