Skip to content

refactor: avoid copying variable on left-rotating vector - #3585

Merged
ice0 merged 1 commit into
synfig:masterfrom
rodolforg:fix-cs-457160-left-rotate
Feb 3, 2026
Merged

ice0 merged 1 commit into
synfig:masterfrom
rodolforg:fix-cs-457160-left-rotate

Conversation

@rodolforg

Copy link
Copy Markdown
Contributor

Problem was in auto node (instead of const auto& node). Besides, there was a duplicated ifcondition o.O

Error reported by Scan Coverity CID 457160

Problem was in `auto node` (instead of `const auto& node`).
Besides, there was a duplicated `if`condition o.O

Error reported by Scan Coverity CID 457160
@github-actions

Copy link
Copy Markdown

Thank you for contributing!
Below is how your contribution will appear in Synfig's release notes. Review it and improve your pull request's title and description so that your contribution is clear. You can add images, videos, and anything else you want. Have fun!

♻️ Code Refactoring

  • Avoid copying variable on left-rotating vector

    Problem was in auto node (instead of const auto& node). Besides, there was a duplicated ifcondition o.O

    Error reported by Scan Coverity CID 457160

@ice0
ice0 merged commit faf4093 into synfig:master Feb 3, 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