File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -198,13 +198,13 @@ ZEND_API uint32_t zend_get_func_info(
198198 return ret ;
199199}
200200
201- static void zend_func_info_add (const func_info_t * func_infos , size_t n )
201+ static void zend_func_info_add (const func_info_t * new_func_infos , size_t n )
202202{
203203 for (size_t i = 0 ; i < n ; i ++ ) {
204- zend_string * key = zend_string_init_interned (func_infos [i ].name , func_infos [i ].name_len , 1 );
204+ zend_string * key = zend_string_init_interned (new_func_infos [i ].name , new_func_infos [i ].name_len , 1 );
205205
206- if (zend_hash_add_ptr (& func_info , key , (void * * )& func_infos [i ]) == NULL ) {
207- fprintf (stderr , "ERROR: Duplicate function info for \"%s\"\n" , func_infos [i ].name );
206+ if (zend_hash_add_ptr (& func_info , key , (void * * )& new_func_infos [i ]) == NULL ) {
207+ fprintf (stderr , "ERROR: Duplicate function info for \"%s\"\n" , new_func_infos [i ].name );
208208 }
209209
210210 zend_string_release_ex (key , 1 );
You can’t perform that action at this time.
0 commit comments