[php-src] PR #22600: sapi/phpdbg: remove dead str_type assignments before goto
| From: | jorgsowa | Date: | Sat, 04 Jul 2026 22:37:45 +0000 |
| Subject: | [php-src] PR #22600: sapi/phpdbg: remove dead str_type assignments before goto | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36837@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22600
Author: jorgsowa
The switch in phpdbg_print_breakpoints() assigned str_type per case and jumped to a shared label
that immediately recomputed the same value from brake->type, making the pre-goto assignments
dead. Set str_type directly per case instead and drop the goto.