Removes 43 small Sonar findings (unused locals, dead helpers, a misread comment); behaviour unchanged. CHANGELOG entry was already swept into 9f78a15. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9f78a15