fix switch warnings

This commit is contained in:
andy5995 2018-09-02 21:11:03 -05:00
parent 6e57f775aa
commit dd43ef1c64
4 changed files with 10 additions and 0 deletions

View File

@ -1393,6 +1393,9 @@ namespace
}
break;
default:
break;
}
if (commandWasHandled == false) {

View File

@ -3136,6 +3136,8 @@ namespace
unit->setCurrField(value == 1 ? Glest::Game::Field::fAir : Glest::Game::Field::fLand);
result = true;
break;
default:
break;
}
}
//printf("File: %s line: %d result: %d\n",extractFileFromDirectoryPath(__FILE__).c_str(),__LINE__,result);

View File

@ -213,6 +213,8 @@ namespace Glest {
case tsyst_healthbarBackgroundTexture:
result = healthbarBackgroundTexture;
break;
default:
break;
//std::vector<Texture2D *> miscTextureList;
}

View File

@ -1084,6 +1084,9 @@ namespace Glest {
case crSomeFailed:
console->addStdMessage("SomeOrdersFailed", result.second);
break;
default:
break;
}
}