From: Remi Collet Date: Fri, 25 Feb 2022 13:49:16 +0000 (+0100) Subject: Fix [-Wunused-but-set-variable] X-Git-Tag: v4.2.3~5^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1e6aa1b84cf1443cb627b720fe005ac6781abd44;p=m6w6%2Fext-http Fix [-Wunused-but-set-variable] --- diff --git a/src/php_http_message.c b/src/php_http_message.c index b82ec0e..cd01757 100644 --- 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);