com php-src: Unused var: ext/standard/var.c
| From: | Xinchen Hui | Date: | Wed, 09 Sep 2015 07:15:43 +0000 |
| Subject: | com php-src: Unused var: ext/standard/var.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88969@lists.php.net to get a copy of this message | ||
Commit: b00a315806ca1ac24b3e1ff97764f9813ad664e6
Author: Xinchen Hui <laruence@gmail.com> Wed, 9 Sep 2015 15:15:43 +0800
Parents: 98bf9156d5868a3ba8c131f562d186f1882e703c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b00a315806ca1ac24b3e1ff97764f9813ad664e6
Log:
Unused var
Changed paths:
M ext/standard/var.c
Diff:
diff --git a/ext/standard/var.c b/ext/standard/var.c
index 8b0f889..5de32f9 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;