Skip to content

Fix Cppcheck findings: variable shadowing, setting complex number to zero, array index limit check#173

Merged
xiaoyeli merged 3 commits intoxiaoyeli:masterfrom
gruenich:feature/fix-three-cppcheck-findings
Mar 1, 2026
Merged

Fix Cppcheck findings: variable shadowing, setting complex number to zero, array index limit check#173
xiaoyeli merged 3 commits intoxiaoyeli:masterfrom
gruenich:feature/fix-three-cppcheck-findings

Conversation

@gruenich
Copy link
Contributor

@gruenich gruenich commented Feb 8, 2026

No description provided.

Found by Cppcheck (shadowVariable)
Found by Cppcheck (arrayIndexThenCheck)
Assigment of 0 to pointer has no effect outside
of the function.
Found by Cppcheck (uselessAssignmentPtrArg)
@gruenich
Copy link
Contributor Author

gruenich commented Mar 1, 2026

@xiaoyeli What do you think?

@xiaoyeli xiaoyeli merged commit 53afbff into xiaoyeli:master Mar 1, 2026
4 checks passed
@xiaoyeli
Copy link
Owner

xiaoyeli commented Mar 1, 2026

Looks good. I merged.

@gruenich gruenich deleted the feature/fix-three-cppcheck-findings branch March 1, 2026 20:03
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