0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-23 03:51:51 +00:00

Remove (meanwhile) unreferenced local variables

This commit is contained in:
Stefan Siegl 2016-05-26 21:53:17 +02:00
parent 8e0b150a90
commit 2e5a565237
5 changed files with 0 additions and 7 deletions

View File

@ -484,7 +484,6 @@ static PHP_METHOD(V8Js, __construct)
/* Export public methods */ /* Export public methods */
void *ptr; void *ptr;
zend_string *key; zend_string *key;
uint key_len;
ZEND_HASH_FOREACH_STR_KEY_PTR(&c->std.ce->function_table, key, ptr) { ZEND_HASH_FOREACH_STR_KEY_PTR(&c->std.ce->function_table, key, ptr) {
zend_function *method_ptr = reinterpret_cast<zend_function *>(ptr); zend_function *method_ptr = reinterpret_cast<zend_function *>(ptr);

View File

@ -36,8 +36,6 @@ static int v8js_is_assoc_array(HashTable *myht TSRMLS_DC) /* {{{ */
{ {
zend_string *key; zend_string *key;
ulong index, idx = 0; ulong index, idx = 0;
uint key_len;
HashPosition pos;
ZEND_HASH_FOREACH_KEY(myht, index, key) { ZEND_HASH_FOREACH_KEY(myht, index, key) {
if(key) { if(key) {

View File

@ -291,7 +291,6 @@ V8JS_METHOD(require)
zval *data; zval *data;
ulong index = 0; ulong index = 0;
HashPosition pos;
ZEND_HASH_FOREACH_VAL(ht, data) { ZEND_HASH_FOREACH_VAL(ht, data) {
if (Z_TYPE_P(data) != IS_STRING) { if (Z_TYPE_P(data) != IS_STRING) {

View File

@ -307,7 +307,6 @@ static void v8js_named_property_enumerator(const v8::PropertyCallbackInfo<v8::Ar
zend_class_entry *ce; zend_class_entry *ce;
void *ptr; void *ptr;
HashTable *proptable; HashTable *proptable;
HashPosition pos;
zend_string *key; zend_string *key;
ulong index; 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) /* {{{ */ static v8::Handle<v8::Object> v8js_wrap_array_to_object(v8::Isolate *isolate, zval *value TSRMLS_DC) /* {{{ */
{ {
int i; int i;
HashPosition pos;
zend_string *key; zend_string *key;
ulong index; ulong index;

View File

@ -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) /* {{{ */ static HashTable *v8js_v8object_get_properties(zval *object TSRMLS_DC) /* {{{ */
{ {
v8js_v8object *obj = Z_V8JS_V8OBJECT_OBJ_P(object); v8js_v8object *obj = Z_V8JS_V8OBJECT_OBJ_P(object);
HashTable *retval;
if (obj->properties == NULL) { if (obj->properties == NULL) {
if (GC_G(gc_active)) { if (GC_G(gc_active)) {