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

Avoid a compiler warning, and while at it hopefully fix the code so that it does what it was supposed to do in the first place #415

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reunanen
Copy link
Contributor

Noticed this because the compiler was complaining:

warning C4834: discarding return value of function with 'nodiscard' attribute

Despite addressing a compiler warning, this PR actually changes behavior, because previously that line has not really done anything... But it does look like this has been the intention here, doesn't it?

…hat it does what it was supposed to do in the first place
@guojing555
Copy link

guojing555 commented Sep 27, 2024 via email

@reunanen
Copy link
Contributor Author

Ok, no problem, enjoy your vacation :D ... from my side this is not urgent at all

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