Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unreachable code in switch statment #2103

Closed
NelsonEloi opened this issue Jan 18, 2021 · 1 comment
Closed

Unreachable code in switch statment #2103

NelsonEloi opened this issue Jan 18, 2021 · 1 comment

Comments

@NelsonEloi
Copy link

Good day,

The commit 7fd535c

Will produce unreachable code warnings on visual studio 2019 Version 16.8.4

The removal of "case 'L':" at lines 1416 and 1466, left the
" handler.on_num();" and "result.locale = true;" without a branch.

Thank you very much,
Nelson Elói

@vitaut
Copy link
Contributor

vitaut commented Jan 20, 2021

Fixed in #2106, thanks for reporting.

@vitaut vitaut closed this as completed Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants