Skip to content

Fix: -Wunreachable-code-loop-increment errors on Clang#388

Open
northstarswap wants to merge 2 commits into
MothCocoon:5.xfrom
northstarswap:fix/redundant-loops
Open

Fix: -Wunreachable-code-loop-increment errors on Clang#388
northstarswap wants to merge 2 commits into
MothCocoon:5.xfrom
northstarswap:fix/redundant-loops

Conversation

@northstarswap

Copy link
Copy Markdown

Under Clang 20.1.8 on UE 5.8.0, -Wunreachable-code-loop-increment is set to -Werror. This causes loops that unconditionally break/return to fail to compile.

This PR reworks instances of these unconditional loops in FlowSubsystem.cpp and FlowGraphEditor.cpp so that the plugin compiles under Clang, as well as adds nullptr sanity checks where applicable.

@MothDoctor MothDoctor self-assigned this Jul 23, 2026
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