Skip to content

Commit cea0918

Browse files
authored
Fix empty_fcall_info C++ missing-field-initializers warning (GH-19084)
Closes GH-19085
1 parent 07f1cfd commit cea0918

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_API.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ ZEND_API zend_result _call_user_function_impl(zval *object, zval *function_name,
696696
# define empty_fcall_info (zend_fcall_info) {0}
697697
# define empty_fcall_info_cache (zend_fcall_info_cache) {0}
698698
#else
699-
# define empty_fcall_info zend_fcall_info {0}
700-
# define empty_fcall_info_cache zend_fcall_info_cache {0}
699+
# define empty_fcall_info zend_fcall_info {}
700+
# define empty_fcall_info_cache zend_fcall_info_cache {}
701701
#endif
702702

703703
/** Build zend_call_info/cache from a zval*

0 commit comments

Comments
 (0)