Skip to content

Commit 426bcdf

Browse files
petkdstogov
authored andcommitted
Fix double incremenation in ffi
This removes the warning of: `incremented both in the loop header and in the loop body` in the compilation step.
1 parent c025cf4 commit 426bcdf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/ffi/ffi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,6 @@ static void zend_ffi_callback_trampoline(ffi_cif* cif, void* ret, void** args, v
780780

781781
for (n = 0; n < callback_data->arg_count; n++) {
782782
zval_ptr_dtor(&fci.params[n]);
783-
n++;
784783
}
785784
}
786785
free_alloca(fci.params, use_heap);

0 commit comments

Comments
 (0)