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

Remove unreachable code #535

Merged
merged 2 commits into from
Sep 18, 2023

Commits on Sep 23, 2022

  1. Remove unreachable code

    This was noticed by MSVC in a debug build which produced the following
    warning:
    
        warning C4702: unreachable code
    SeverinLeonhardt committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    08d62bf View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. Update slot outside of the loop in MPMCQueue

    As suggested by @absurdfarce this change keeps finding a slot in the
    loop but moves the use of the slot past the loop. That way there is a
    return after the loop which should make clear to any code analysis that
    this function will always return something.
    SeverinLeonhardt committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    7e61eef View commit details
    Browse the repository at this point in the history