diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-05-05 17:51:08 +0200 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-05-06 09:45:11 +0300 |
commit | 426bcdf02120604cc13d9af9f161aec4307a2249 (patch) | |
tree | 677f1e1a17989e238268520b3040d37fb41f7804 | |
parent | c025cf47c00ed5db086c69ed76dc88ca4238255e (diff) | |
download | php-git-426bcdf02120604cc13d9af9f161aec4307a2249.tar.gz |
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.
-rw-r--r-- | ext/ffi/ffi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/ffi/ffi.c b/ext/ffi/ffi.c index 0e0803adca..a0603086c5 100644 --- a/ext/ffi/ffi.c +++ b/ext/ffi/ffi.c @@ -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); |