Skip to content

Fix "unreachable code" warning#1291

Open
irwir wants to merge 1 commit intoweidai11:masterfrom
irwir:fix_unreachable
Open

Fix "unreachable code" warning#1291
irwir wants to merge 1 commit intoweidai11:masterfrom
irwir:fix_unreachable

Conversation

@irwir
Copy link
Copy Markdown
Contributor

@irwir irwir commented Sep 16, 2024

Visual C++ emits this warning for "return false;" line if one of the previous conditions has been met.

@irwir
Copy link
Copy Markdown
Contributor Author

irwir commented Sep 17, 2024

Thanks, @MarcelRaad. The code has been updated.

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

Successfully merging this pull request may close these issues.

2 participants