Skip to content

Commit 7c33644

Browse files
committed
Fix [-Wextra-tokens] warning in MySQLi extension which breaks build
Didn't double check and this slipped through with my big search and replace
1 parent 1330359 commit 7c33644

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mysqli/mysqli.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ PHP_MSHUTDOWN_FUNCTION(mysqli)
875875
*/
876876
PHP_RINIT_FUNCTION(mysqli)
877877
{
878-
#ifndef MYSQLI_USE_MYSQLND && defined(ZTS)
878+
#if !defined(MYSQLI_USE_MYSQLND) && defined(ZTS)
879879
if (mysql_thread_init()) {
880880
return FAILURE;
881881
}
@@ -912,7 +912,7 @@ PHP_RSHUTDOWN_FUNCTION(mysqli)
912912
{
913913
/* check persistent connections, move used to free */
914914

915-
#ifndef MYSQLI_USE_MYSQLND && defined(ZTS)
915+
#if !defined(MYSQLI_USE_MYSQLND) && defined(ZTS)
916916
mysql_thread_end();
917917
#endif
918918
if (MyG(error_msg)) {

0 commit comments

Comments
 (0)