summaryrefslogtreecommitdiff
path: root/ext/standard/var.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-09-09 15:15:43 +0800
committerXinchen Hui <laruence@gmail.com>2015-09-09 15:15:43 +0800
commitb00a315806ca1ac24b3e1ff97764f9813ad664e6 (patch)
tree4cfb6df65e9ae3903e82ce5ae7fc0ebe116d3965 /ext/standard/var.c
parent98bf9156d5868a3ba8c131f562d186f1882e703c (diff)
downloadphp-git-b00a315806ca1ac24b3e1ff97764f9813ad664e6.tar.gz
Unused var
Diffstat (limited to 'ext/standard/var.c')
-rw-r--r--ext/standard/var.c3
1 files changed, 1 insertions, 2 deletions
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;