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

index fec74f57f98935ec04369ce73519becb3bc228ac..924cc39847673c72d1bee47c680b800a7a6840f5 100755 (executable)
@@ -492,7 +492,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;