MainWindow: Remove unused std::string variable in NetPlayHost()
This commit is contained in:
parent
833c030496
commit
306d132232
|
@ -928,7 +928,6 @@ bool MainWindow::NetPlayHost(const QString& game_id)
|
||||||
|
|
||||||
const std::string traversal_host = Config::Get(Config::NETPLAY_TRAVERSAL_SERVER);
|
const std::string traversal_host = Config::Get(Config::NETPLAY_TRAVERSAL_SERVER);
|
||||||
const u16 traversal_port = Config::Get(Config::NETPLAY_TRAVERSAL_PORT);
|
const u16 traversal_port = Config::Get(Config::NETPLAY_TRAVERSAL_PORT);
|
||||||
const std::string nickname = Config::Get(Config::NETPLAY_NICKNAME);
|
|
||||||
|
|
||||||
if (is_traversal)
|
if (is_traversal)
|
||||||
host_port = Config::Get(Config::NETPLAY_LISTEN_PORT);
|
host_port = Config::Get(Config::NETPLAY_LISTEN_PORT);
|
||||||
|
|
Loading…
Reference in New Issue