[php-src] Issue #11491: zend_value has dead code
| From: | SVGAnimate | Date: | Tue, 20 Jun 2023 14:27:25 +0000 |
| Subject: | [php-src] Issue #11491: zend_value has dead code | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244757@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11491
Author: SVGAnimate
### Description
Hello,
Is the ww field dead code?
https://github.com/php/php-src/blob/194915193599cc4c441793076d1448679d419ce3/Zend/zend_types.h#LL315C7-L315C7
```
typedef union _zend_value {
//...
struct {
uint32_t w1;
uint32_t w2;
} ww;
} zend_value;
```
The only occurrence I found is for macro
ZVAL_COPY_VALUE_EX in
<php-src>/Zend/zend_types.h
But I don't see what it can be used for. Can we delete it?