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

fix unused return bug #53

Merged
merged 4 commits into from
Jan 24, 2024
Merged

fix unused return bug #53

merged 4 commits into from
Jan 24, 2024

Conversation

technovision99
Copy link
Contributor

if a function call takes in a struct, then that struct_deconstruct will be called first, causing the detector to report FPs
This can be fixed by making sure the struct_deconstruct's args are the function's return var IDs

@smonicas smonicas merged commit b6100dd into master Jan 24, 2024
7 checks passed
@smonicas smonicas deleted the improve-unused-return branch January 24, 2024 14:25
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