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 inaccuracies pointed out by PVS-Studio #13569

Merged
merged 2 commits into from
Mar 25, 2023
Merged

Conversation

RipleyTom
Copy link
Contributor

@RipleyTom RipleyTom commented Mar 21, 2023

Fix inaccuracies pointed out in https://pvs-studio.com/en/blog/posts/cpp/1014/.

I didn't touch the m_finfo one as actually

m_finfo = &m_functions[m_entry];
so it can't be null.
So either the m_info nullptr checks after are redundant or implicit insertion into m_functions with [] is an error, I'm unsure.

@Megamouse Megamouse merged commit 0f45a8c into RPCS3:master Mar 25, 2023
@RipleyTom RipleyTom deleted the pvs_fixes branch January 26, 2024 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants