mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Fix all uninitialized variable warnings (C26495)
This commit is contained in:
@ -23,11 +23,11 @@ struct NetPlaySession
|
||||
std::string game_id;
|
||||
std::string version;
|
||||
|
||||
int player_count;
|
||||
int port;
|
||||
int player_count = 0;
|
||||
int port = 0;
|
||||
|
||||
bool has_password;
|
||||
bool in_game;
|
||||
bool has_password = false;
|
||||
bool in_game = false;
|
||||
|
||||
bool EncryptID(std::string_view password);
|
||||
std::optional<std::string> DecryptID(std::string_view password) const;
|
||||
|
Reference in New Issue
Block a user