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 uninitialized variable warnings (C26495) #11572

Merged

Conversation

Pokechu22
Copy link
Contributor

Similar to #10085, this fixes occurrences of C26495 in Dolphin code found by Visual Studio's analyzer, along with a few other issues not found by it.

Several of these were caused by things that were previously static variables being converted to class members. Others are just from new code.

This was moved to the ~OnScreenUI() destructor in 0d4537d.
Strangely, this case did not trigger a C26495 warning in Visual Studio's analyzer; instead, I spotted this when using Valgrind.
@lioncash lioncash merged commit 19bf13d into dolphin-emu:master Feb 16, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants