Skip to content

Commit 7a72405

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: - Value stored to var is never used
2 parents 6513ca8 + 001966c commit 7a72405

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Zend/zend_API.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2651,11 +2651,9 @@ static int zend_is_callable_check_func(int check_flags, zval *callable, zend_fca
26512651
/* Skip leading \ */
26522652
if (Z_STRVAL_P(callable)[0] == '\\') {
26532653
mlen = Z_STRLEN_P(callable) - 1;
2654-
mname = Z_STRVAL_P(callable) + 1;
26552654
lmname = zend_str_tolower_dup(Z_STRVAL_P(callable) + 1, mlen);
26562655
} else {
26572656
mlen = Z_STRLEN_P(callable);
2658-
mname = Z_STRVAL_P(callable);
26592657
lmname = zend_str_tolower_dup(Z_STRVAL_P(callable), mlen);
26602658
}
26612659
/* Check if function with given name exists.

0 commit comments

Comments
 (0)