mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 05:10:05 +00:00
Resolve some variable hiding warnings
(C4456: variable hides previous local declaration)
This commit is contained in:
parent
e331fac004
commit
d87fee05a9
5 changed files with 11 additions and 13 deletions
|
@ -232,9 +232,8 @@ bool MultiplayerState::OnCloseRoom() {
|
|||
return true;
|
||||
}
|
||||
// Save ban list
|
||||
if (auto room = Network::GetRoom().lock()) {
|
||||
UISettings::values.ban_list = std::move(room->GetBanList());
|
||||
}
|
||||
UISettings::values.ban_list = std::move(room->GetBanList());
|
||||
|
||||
room->Destroy();
|
||||
announce_multiplayer_session->Stop();
|
||||
LOG_DEBUG(Frontend, "Closed the room (as a server)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue