Skip to content

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

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

refactor: avoid copying variable on left-rotating vector#3585
ice0 merged 1 commit intosynfig:masterfrom
rodolforg:fix-cs-457160-left-rotate

Conversation

@rodolforg
Copy link
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

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
11 checks passed
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