Skip to content

Commit 66e4ba1

Browse files
committed
zend_objects_API.c: reduce scope of variable
1 parent deb5997 commit 66e4ba1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Zend/zend_objects_API.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ ZEND_API void ZEND_FASTCALL zend_objects_store_call_destructors(zend_objects_sto
4444
{
4545
EG(flags) |= EG_FLAGS_OBJECT_STORE_NO_REUSE;
4646
if (objects->top > 1) {
47-
uint32_t i;
48-
for (i = 1; i < objects->top; i++) {
47+
for (uint32_t i = 1; i < objects->top; i++) {
4948
zend_object *obj = objects->object_buckets[i];
5049
if (IS_OBJ_VALID(obj)) {
5150
if (!(OBJ_FLAGS(obj) & IS_OBJ_DESTRUCTOR_CALLED)) {

0 commit comments

Comments
 (0)