1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix ASAN build

This commit is contained in:
George Peter Banyard
2022-05-10 12:04:42 +01:00
parent 9601475ebb
commit 0fad4d1d96

View File

@@ -2535,6 +2535,8 @@ static zend_result php_cli_server_recv_event_read_request(php_cli_server *server
return SUCCESS;
EMPTY_SWITCH_DEFAULT_CASE();
}
/* Under ASAN the compiler somehow doesn't realise that the switch block always returns */
return FAILURE;
} /* }}} */
static zend_result php_cli_server_send_event(php_cli_server *server, php_cli_server_client *client) /* {{{ */