Skip to content
New issue

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

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

Already on GitHub? # 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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant