Fix: unused variable warnings

This commit is contained in:
glx
2019-12-18 18:21:23 +01:00
committed by Niels Martin Hansen
parent ae532008ff
commit e3c75a30ba
3 changed files with 5 additions and 7 deletions

View File

@@ -99,9 +99,7 @@ extern void StateGameLoop();
*/
bool HasClients()
{
for (NetworkClientSocket *cs : NetworkClientSocket::Iterate()) return true;
return false;
return !NetworkClientSocket::Iterate().empty();
}
/**