[php-src] PR #20063: zend_portability: Remove `EMPTY_SWITCH_DEFAULT_CASE()`
| From: | TimWolla | Date: | Sat, 04 Oct 2025 17:31:42 +0000 |
| Subject: | [php-src] PR #20063: zend_portability: Remove `EMPTY_SWITCH_DEFAULT_CASE()` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33484@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20063
Author: TimWolla
This macro is exactly as long as explicitly spelling out its definition (excluding the useless
break;), but hides control flow in its definition. This is giving tools like Coccinelle
some troubles to understand the code and can also be confusing for the human reader, because it
appears as if it is a statement that belongs to the current case rather than opening a new case.