1 suggestion
Earlier concerns neither republished nor resolved: 1 major finding. See the Run archive for their assessments.
Optional improvements
[suggestion] · The Clang suppression preserves an unnecessary dead break
Deleting the unreachable OP_RETURN break would silence the warning without adding compiler-specific suppression or changing script evaluation.
Location: src/script/interpreter.cpp:683 (head).
Details and suggested fix
Whenever EvalScript enters the OP_RETURN case, it returns through set_error, which optionally records SCRIPT_ERR_OP_RETURN and returns false. The following break therefore cannot execute. Although that dead statement predates this PR, wrapping it in seven preprocessor lines adds unnecessary compiler-specific machinery to consensus-critical code. Delete the break and its surrounding diagnostic directives instead. The unconditional return still prevents fallthrough into OP_TOALTSTACK, so error reporting and control flow remain unchanged.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [major]: The direct minisketch edit fails the subtree lint check (earlier report)