mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
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.
This commit is contained in:
committed by
Dmitry Stogov
parent
c025cf47c0
commit
426bcdf021
@@ -780,7 +780,6 @@ static void zend_ffi_callback_trampoline(ffi_cif* cif, void* ret, void** args, v
|
||||
|
||||
for (n = 0; n < callback_data->arg_count; n++) {
|
||||
zval_ptr_dtor(&fci.params[n]);
|
||||
n++;
|
||||
}
|
||||
}
|
||||
free_alloca(fci.params, use_heap);
|
||||
|
||||
Reference in New Issue
Block a user