0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-08 15:48:40 +00:00

remove unused variable

This commit is contained in:
Stefan Siegl 2017-03-11 13:55:54 +01:00
parent d06ac983eb
commit 51335bfa17

View File

@ -379,9 +379,7 @@ static void v8js_named_property_enumerator(const v8::PropertyCallbackInfo<v8::Ar
ZVAL_OBJ(&tmp_zv, object); ZVAL_OBJ(&tmp_zv, object);
proptable = Z_OBJPROP(tmp_zv); proptable = Z_OBJPROP(tmp_zv);
zval *data; ZEND_HASH_FOREACH_KEY(proptable, index, key) {
ZEND_HASH_FOREACH_KEY_VAL(proptable, index, key, data) {
if(key) { if(key) {
/* skip protected and private members */ /* skip protected and private members */
if(ZSTR_VAL(key)[0] == '\0') { if(ZSTR_VAL(key)[0] == '\0') {