Skip to content

Commit de3c688

Browse files
committed
hash: Remove missed remains args member
Signed-off-by: Anatol Belski <ab@php.net>
1 parent e62e9f6 commit de3c688

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/hash/hash.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ PHP_METHOD(HashContext, __unserialize)
14901490
zval *object = ZEND_THIS;
14911491
php_hashcontext_object *hash = php_hashcontext_from_object(Z_OBJ_P(object));
14921492
HashTable *data;
1493-
zval *algo_zv, *magic_zv, *options_zv, *hash_zv, *members_zv, *args_zv;
1493+
zval *algo_zv, *magic_zv, *options_zv, *hash_zv, *members_zv;
14941494
zend_long magic, options;
14951495
int unserialize_result;
14961496
const php_hash_ops *ops;
@@ -1509,7 +1509,6 @@ PHP_METHOD(HashContext, __unserialize)
15091509
hash_zv = zend_hash_index_find(data, 2);
15101510
magic_zv = zend_hash_index_find(data, 3);
15111511
members_zv = zend_hash_index_find(data, 4);
1512-
args_zv = zend_hash_index_find(data, 5);
15131512

15141513
if (!algo_zv || Z_TYPE_P(algo_zv) != IS_STRING
15151514
|| !magic_zv || Z_TYPE_P(magic_zv) != IS_LONG

0 commit comments

Comments
 (0)