Skip to content

Fix "unreachable code" warning - #1291

Open
irwir wants to merge 1 commit into
weidai11:masterfrom
irwir:fix_unreachable
Open

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

Conversation

@irwir

@irwir irwir commented Sep 16, 2024

Copy link
Copy Markdown
Contributor

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

Comment thread cpu.cpp Outdated
@irwir

irwir commented Sep 17, 2024

Copy link
Copy Markdown
Contributor Author

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