mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-03 16:51:52 +00:00
remove unused variable
This commit is contained in:
parent
880d0b2fef
commit
d06ac983eb
@ -1076,7 +1076,6 @@ static PHP_METHOD(V8Js, registerExtension)
|
|||||||
static PHP_METHOD(V8Js, getExtensions)
|
static PHP_METHOD(V8Js, getExtensions)
|
||||||
{
|
{
|
||||||
v8js_jsext *jsext;
|
v8js_jsext *jsext;
|
||||||
zend_ulong index;
|
|
||||||
zend_string *key;
|
zend_string *key;
|
||||||
zval *val, ext;
|
zval *val, ext;
|
||||||
|
|
||||||
@ -1091,7 +1090,7 @@ static PHP_METHOD(V8Js, getExtensions)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (v8js_process_globals.extensions) {
|
if (v8js_process_globals.extensions) {
|
||||||
ZEND_HASH_FOREACH_KEY_VAL(v8js_process_globals.extensions, index, key, val) {
|
ZEND_HASH_FOREACH_STR_KEY_VAL(v8js_process_globals.extensions, key, val) {
|
||||||
if (key) {
|
if (key) {
|
||||||
jsext = (v8js_jsext *) Z_PTR_P(val);
|
jsext = (v8js_jsext *) Z_PTR_P(val);
|
||||||
array_init(&ext);
|
array_init(&ext);
|
||||||
|
Loading…
Reference in New Issue
Block a user