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

Pvs studio #1167

Open
wants to merge 2 commits into
base: testnet
Choose a base branch
from
Open

Pvs studio #1167

wants to merge 2 commits into from

Conversation

Lordron
Copy link

@Lordron Lordron commented Sep 12, 2024

All of these errors was generated by PVS Studio - automatic analysis tool i used to check the code. These are just a small fraction of what was found. The most interested for me. Some may be false-positive though most of them were filtered by me.
Please someone with experience and code knowledge take a look.
If community is interested i can share a full log and anyone with PVS installed can fix them.

There is a lot of performace-related issues such as trying to move const or const ref (&) objects (which results in simple copying), passing large objects by value (such as strings). I have zero interest in PVS, just a TON user who decide to spend couple of hours setting up windows build and checking for mistakes and errors. In hope this will make TON better

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.

1 participant