]> granicus.if.org Git - php/commitdiff
- Drop double variable declaration
authorMarcus Boerger <helly@php.net>
Sat, 24 Mar 2007 16:28:45 +0000 (16:28 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 24 Mar 2007 16:28:45 +0000 (16:28 +0000)
ext/spl/spl_array.c

index d6276612ef4823104f5498557bc5a70d4fa184ed..8984e491d7aaad95a633dc6f4071ab9a468dcd23 100755 (executable)
@@ -497,7 +497,6 @@ static int spl_array_has_dimension_ex(int check_inherited, zval *object, zval *o
                        index = Z_LVAL_P(offset);
                }
                if (check_empty) {
-                       zval **tmp;
                        HashTable *ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC);
                        if (zend_hash_index_find(ht, index, (void **)&tmp) != FAILURE && zend_is_true(*tmp)) {
                                return 1;