From: Peter Kokot Date: Sun, 5 May 2019 15:51:08 +0000 (+0200) Subject: Fix double incremenation in ffi X-Git-Tag: php-7.4.0alpha1~353 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=426bcdf02120604cc13d9af9f161aec4307a2249;p=php 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. --- 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);