projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
244c560
)
Fix [-Wunused-but-set-variable]
124/head
author
Remi Collet
<remi@remirepo.net>
Fri, 25 Feb 2022 13:49:16 +0000
(14:49 +0100)
committer
Remi Collet
<remi@php.net>
Fri, 25 Feb 2022 13:49:16 +0000
(14:49 +0100)
src/php_http_message.c
patch
|
blob
|
history
diff --git
a/src/php_http_message.c
b/src/php_http_message.c
index b82ec0e79bfc936ddff75163d4419aaf2cdee58c..cd01757b4f83d5261014b10dfa4e7d049231b84b 100644
(file)
--- a/
src/php_http_message.c
+++ b/
src/php_http_message.c
@@
-1780,6
+1780,7
@@
static PHP_METHOD(HttpMessage, __serialize)
ZEND_HASH_FOREACH_KEY_PTR(&obj->zo.ce->properties_info, num_index, str_index, pi)
{
+ (void)num_index;
zval *val;
if (str_index && (val = zend_hash_find_ind(props, pi->name))) {
Z_TRY_ADDREF_P(val);