mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 19:51:51 +00:00
remove unused variable
This commit is contained in:
parent
d06ac983eb
commit
51335bfa17
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user