mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix GCC 12 compiler warnings (#10713)
* Fix -Wunused-but-set-variable compiler warning in ext/mysqli * Fix -Wstrict-prototypes compiler warning in ext/mysqlnd * Fix -Wstrict-prototypes compiler warning in ext/soap * Fix -Wunused-but-set-variable compiler warning in ext/exif However, this code looks really sketchy... * Fix -Wstrict-prototypes compiler warning in ext/openssl * Fix -Wstrict-prototypes compiler warning in ext/dba Add void to our bundled libraries * Refactor bundled BCMath library Fix -Wdeprecated-non-prototype compiler warnings Use bool instead of char/int Cleanup some useless header includes
This commit is contained in:
parent
02ec4c5071
commit
f13d541ca6
26 changed files with 71 additions and 161 deletions
|
@ -3414,7 +3414,7 @@ static void set_xsi_type(xmlNodePtr node, char *type)
|
|||
set_ns_prop(node, XSI_NAMESPACE, "type", type);
|
||||
}
|
||||
|
||||
void encode_reset_ns()
|
||||
void encode_reset_ns(void)
|
||||
{
|
||||
SOAP_GLOBAL(cur_uniq_ns) = 0;
|
||||
SOAP_GLOBAL(cur_uniq_ref) = 0;
|
||||
|
@ -3426,7 +3426,7 @@ void encode_reset_ns()
|
|||
zend_hash_init(SOAP_GLOBAL(ref_map), 0, NULL, NULL, 0);
|
||||
}
|
||||
|
||||
void encode_finish()
|
||||
void encode_finish(void)
|
||||
{
|
||||
SOAP_GLOBAL(cur_uniq_ns) = 0;
|
||||
SOAP_GLOBAL(cur_uniq_ref) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue