mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 23:51:51 +00:00
Remove (meanwhile) unreferenced local variables
This commit is contained in:
parent
8e0b150a90
commit
2e5a565237
@ -484,7 +484,6 @@ static PHP_METHOD(V8Js, __construct)
|
||||
/* Export public methods */
|
||||
void *ptr;
|
||||
zend_string *key;
|
||||
uint key_len;
|
||||
|
||||
ZEND_HASH_FOREACH_STR_KEY_PTR(&c->std.ce->function_table, key, ptr) {
|
||||
zend_function *method_ptr = reinterpret_cast<zend_function *>(ptr);
|
||||
|
@ -36,8 +36,6 @@ static int v8js_is_assoc_array(HashTable *myht TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
zend_string *key;
|
||||
ulong index, idx = 0;
|
||||
uint key_len;
|
||||
HashPosition pos;
|
||||
|
||||
ZEND_HASH_FOREACH_KEY(myht, index, key) {
|
||||
if(key) {
|
||||
|
@ -291,7 +291,6 @@ V8JS_METHOD(require)
|
||||
|
||||
zval *data;
|
||||
ulong index = 0;
|
||||
HashPosition pos;
|
||||
|
||||
ZEND_HASH_FOREACH_VAL(ht, data) {
|
||||
if (Z_TYPE_P(data) != IS_STRING) {
|
||||
|
@ -307,7 +307,6 @@ static void v8js_named_property_enumerator(const v8::PropertyCallbackInfo<v8::Ar
|
||||
zend_class_entry *ce;
|
||||
void *ptr;
|
||||
HashTable *proptable;
|
||||
HashPosition pos;
|
||||
zend_string *key;
|
||||
ulong index;
|
||||
|
||||
@ -852,7 +851,6 @@ static v8::Handle<v8::Object> v8js_wrap_object(v8::Isolate *isolate, zend_class_
|
||||
static v8::Handle<v8::Object> v8js_wrap_array_to_object(v8::Isolate *isolate, zval *value TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
int i;
|
||||
HashPosition pos;
|
||||
zend_string *key;
|
||||
ulong index;
|
||||
|
||||
|
@ -186,7 +186,6 @@ static void v8js_v8object_unset_property(zval *object, zval *member, void **cach
|
||||
static HashTable *v8js_v8object_get_properties(zval *object TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
v8js_v8object *obj = Z_V8JS_V8OBJECT_OBJ_P(object);
|
||||
HashTable *retval;
|
||||
|
||||
if (obj->properties == NULL) {
|
||||
if (GC_G(gc_active)) {
|
||||
|
Loading…
Reference in New Issue
Block a user