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 on HCCVariant.h #2

Closed
CodeVisio opened this issue Dec 20, 2024 · 1 comment
Closed

Unreachable code on HCCVariant.h #2

CodeVisio opened this issue Dec 20, 2024 · 1 comment

Comments

@CodeVisio
Copy link

CodeVisio commented Dec 20, 2024

Hi,

Line 205 from HCCVariant.h.
I think the last return is flagged as unreachable code.

Line 634, return len > 0; should be return len <= 0;, shouldn't it?

Regards

Edit: added a second issue.

@Harlinn
Copy link
Owner

Harlinn commented Feb 2, 2025

I think the last return is flagged as unreachable code.

True, thanks :-)

Line 634, return len > 0; should be return len <= 0;, shouldn't it?

I should be return len == 0;, and thanks again.

@Harlinn Harlinn closed this as completed Feb 2, 2025
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