Skip to content

Commit 001966c

Browse files
committed
- Value stored to var is never used
1 parent dc1138b commit 001966c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Zend/zend_API.c

-2
Original file line numberDiff line numberDiff line change
@@ -2445,11 +2445,9 @@ static int zend_is_callable_check_func(int check_flags, zval *callable, zend_fca
24452445
/* Skip leading \ */
24462446
if (Z_STRVAL_P(callable)[0] == '\\') {
24472447
mlen = Z_STRLEN_P(callable) - 1;
2448-
mname = Z_STRVAL_P(callable) + 1;
24492448
lmname = zend_str_tolower_dup(Z_STRVAL_P(callable) + 1, mlen);
24502449
} else {
24512450
mlen = Z_STRLEN_P(callable);
2452-
mname = Z_STRVAL_P(callable);
24532451
lmname = zend_str_tolower_dup(Z_STRVAL_P(callable), mlen);
24542452
}
24552453
/* Check if function with given name exists.

0 commit comments

Comments
 (0)