From: Xinchen Hui Date: Wed, 9 Sep 2015 07:15:43 +0000 (+0800) Subject: Unused var X-Git-Tag: php-7.1.0alpha1~1206 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b00a315806ca1ac24b3e1ff97764f9813ad664e6;p=php Unused var --- diff --git a/ext/standard/var.c b/ext/standard/var.c index 8b0f8893c5..5de32f9c3e 100644 --- a/ext/standard/var.c +++ b/ext/standard/var.c @@ -50,6 +50,7 @@ static uint32_t zend_hash_recalc_elements(HashTable *ht) /* {{{ */ } ZEND_HASH_FOREACH_END(); return num; } +/* }}} */ static uint32_t zend_obj_num_elements(HashTable *ht) /* {{{ */ { @@ -590,7 +591,6 @@ PHPAPI void php_var_export(zval *struc, int level) /* {{{ */ } /* }}} */ - /* {{{ proto mixed var_export(mixed var [, bool return]) Outputs or returns a string representation of a variable */ PHP_FUNCTION(var_export) @@ -1045,7 +1045,6 @@ PHP_FUNCTION(unserialize) php_unserialize_data_t var_hash; zval *options = NULL, *classes = NULL; HashTable *class_hash = NULL; - zval *old_rval = return_value; if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|a", &buf, &buf_len, &options) == FAILURE) { RETURN_FALSE;