mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +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
|
@ -355,7 +355,7 @@ ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pa
|
|||
|
||||
|
||||
/* {{{ _mysqlnd_init_ps_fetch_subsystem */
|
||||
void _mysqlnd_init_ps_fetch_subsystem()
|
||||
void _mysqlnd_init_ps_fetch_subsystem(void)
|
||||
{
|
||||
memset(mysqlnd_ps_fetch_functions, 0, sizeof(mysqlnd_ps_fetch_functions));
|
||||
mysqlnd_ps_fetch_functions[MYSQL_TYPE_NULL].func = ps_fetch_null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue