Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not forward or move variables that are used later in the code #1013

Merged
merged 5 commits into from
Jul 11, 2023

Conversation

timmiesmith
Copy link
Contributor

Static analysis tools run since #862 and #608 were merged have identified more cases where variables were forwarded and then used later in the code.

@timmiesmith
Copy link
Contributor Author

Addressing the remaining issues reported by clang format I think would make the code less readable. Please let me know if you disagree and I can address them.

Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor fix, otherwise, LGTM.

@mmichel11
Copy link
Contributor

LGTM once Dan's comment is addressed.

Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@timmiesmith timmiesmith merged commit af423b0 into main Jul 11, 2023
17 of 18 checks passed
@timmiesmith timmiesmith deleted the dev/fix-use-after-move branch July 11, 2023 16:44
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.

None yet

3 participants