Address /W4 compiler warnings for Windows (#4910)

This commit is contained in:
Zach H 2023-10-15 20:31:13 -04:00 committed by GitHub
parent cb90a8356b
commit 186f4289e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 279 additions and 272 deletions

View file

@ -986,7 +986,7 @@ PendingCommand *TabGame::prepareGameCommand(const QList<const ::google::protobuf
return new PendingCommand(cont);
}
void TabGame::startGame(bool resuming)
void TabGame::startGame(bool _resuming)
{
currentPhase = -1;
@ -999,7 +999,7 @@ void TabGame::startGame(bool resuming)
mainWidget->setCurrentWidget(gamePlayAreaWidget);
if (!resuming) {
if (!_resuming) {
QMapIterator<int, Player *> playerIterator(players);
while (playerIterator.hasNext())
playerIterator.next().value()->setGameStarted();