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

Simplify process_block_until_close() #7864

Merged

Commits on Nov 22, 2024

  1. In process_block_until_close(), the equality checking was performed i…

    …n 2 steps and as in all cases NDX was 1, analysers warned that the loop part was ineffective.
    
    To eliminate this warning, and simplify the code, just do a single loop from zero and also exit the loop when it fails the first test (should there ever be a use with NDX > 1).
    Also simplify to only have the single call to processSmoothing.
    David Lowndes authored and David Lowndes committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    f8eb625 View commit details
    Browse the repository at this point in the history