Skip to content

sapi/phpdbg: remove dead str_type assignments before goto#22600

Open
jorgsowa wants to merge 1 commit into
php:masterfrom
jorgsowa:fix/phpdbg-bp-str-type-dead-code
Open

sapi/phpdbg: remove dead str_type assignments before goto#22600
jorgsowa wants to merge 1 commit into
php:masterfrom
jorgsowa:fix/phpdbg-bp-str-type-dead-code

Conversation

@jorgsowa

@jorgsowa jorgsowa commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant