Skip to content

Commit 9258be3

Browse files
committed
Reduce variable scope
1 parent 567d01a commit 9258be3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/intl/collator/collator_convert.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,13 +382,12 @@ zval* collator_convert_string_to_number_if_possible( zval* str, zval *rv )
382382
zval* collator_make_printable_zval( zval* arg, zval *rv)
383383
{
384384
zval arg_copy;
385-
int use_copy = 0;
386385
zval* str = NULL;
387386

388387
if( Z_TYPE_P(arg) != IS_STRING )
389388
{
390389

391-
use_copy = zend_make_printable_zval(arg, &arg_copy);
390+
int use_copy = zend_make_printable_zval(arg, &arg_copy);
392391

393392
if( use_copy )
394393
{

0 commit comments

Comments
 (0)