File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,7 @@ void ZEND_FASTCALL zif_readType(INTERNAL_FUNCTION_PARAMETERS) {
120120
121121template <typename TValue, readTypeFunc_t<TValue> readTypeFunc, typename TZendValue>
122122void ZEND_FASTCALL zif_unpackType (INTERNAL_FUNCTION_PARAMETERS) {
123- zval* object_zv;
124- byte_buffer_reader_t reader;
123+ byte_buffer_reader_t reader = { 0 };
125124
126125 ZEND_PARSE_PARAMETERS_START_EX (ZEND_PARSE_PARAMS_THROW, 1 , 1 )
127126 Z_PARAM_STR (reader.buffer )
@@ -170,7 +169,6 @@ void ZEND_FASTCALL zif_readTypeArray(INTERNAL_FUNCTION_PARAMETERS) {
170169
171170template <typename TValue, readTypeArrayFunc_t<TValue> readTypeArray, typename TZendValue>
172171void ZEND_FASTCALL zif_unpackTypeArray (INTERNAL_FUNCTION_PARAMETERS) {
173- zval* object_zv;
174172 zend_long zcount;
175173 byte_buffer_reader_t reader = { 0 };
176174
You can’t perform that action at this time.
0 commit comments