From: Anatol Belski Date: Wed, 7 Mar 2018 17:09:58 +0000 (+0100) Subject: Remove unused assignment X-Git-Tag: php-7.3.0alpha1~233 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70a1b23c2cf07bccacfa6c97ad9b5de1df41f17e;p=php Remove unused assignment --- diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 720039bc75..423a37b361 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -4328,7 +4328,6 @@ ZEND_METHOD(reflection_class, getProperty) } } str_name = ZSTR_VAL(name); - str_name_len = ZSTR_LEN(name); if ((tmp = strstr(ZSTR_VAL(name), "::")) != NULL) { classname_len = tmp - ZSTR_VAL(name); classname = zend_string_alloc(classname_len, 0);