Skip to content

Commit 2e5a565

Browse files
committed
Remove (meanwhile) unreferenced local variables
1 parent 8e0b150 commit 2e5a565

File tree

5 files changed

+0
-7
lines changed

5 files changed

+0
-7
lines changed

v8js_class.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ static PHP_METHOD(V8Js, __construct)
484484
/* Export public methods */
485485
void *ptr;
486486
zend_string *key;
487-
uint key_len;
488487

489488
ZEND_HASH_FOREACH_STR_KEY_PTR(&c->std.ce->function_table, key, ptr) {
490489
zend_function *method_ptr = reinterpret_cast<zend_function *>(ptr);

v8js_convert.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ static int v8js_is_assoc_array(HashTable *myht TSRMLS_DC) /* {{{ */
3636
{
3737
zend_string *key;
3838
ulong index, idx = 0;
39-
uint key_len;
40-
HashPosition pos;
4139

4240
ZEND_HASH_FOREACH_KEY(myht, index, key) {
4341
if(key) {

v8js_methods.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ V8JS_METHOD(require)
291291

292292
zval *data;
293293
ulong index = 0;
294-
HashPosition pos;
295294

296295
ZEND_HASH_FOREACH_VAL(ht, data) {
297296
if (Z_TYPE_P(data) != IS_STRING) {

v8js_object_export.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ static void v8js_named_property_enumerator(const v8::PropertyCallbackInfo<v8::Ar
307307
zend_class_entry *ce;
308308
void *ptr;
309309
HashTable *proptable;
310-
HashPosition pos;
311310
zend_string *key;
312311
ulong index;
313312

@@ -852,7 +851,6 @@ static v8::Handle<v8::Object> v8js_wrap_object(v8::Isolate *isolate, zend_class_
852851
static v8::Handle<v8::Object> v8js_wrap_array_to_object(v8::Isolate *isolate, zval *value TSRMLS_DC) /* {{{ */
853852
{
854853
int i;
855-
HashPosition pos;
856854
zend_string *key;
857855
ulong index;
858856

v8js_v8object_class.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ static void v8js_v8object_unset_property(zval *object, zval *member, void **cach
186186
static HashTable *v8js_v8object_get_properties(zval *object TSRMLS_DC) /* {{{ */
187187
{
188188
v8js_v8object *obj = Z_V8JS_V8OBJECT_OBJ_P(object);
189-
HashTable *retval;
190189

191190
if (obj->properties == NULL) {
192191
if (GC_G(gc_active)) {

0 commit comments

Comments
 (0)