1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Warning fix (I moved C++17 and CI to another branch) (#739)

* clang warning fixes
* use CMake 3.10 due to MXE CI does not have 3.13 yet

Co-authored-by: Konstantin <rilian@niisi.ras.ru>
This commit is contained in:
Konstantin
2022-05-19 15:14:50 +03:00
committed by GitHub
parent 55b8aac63e
commit c6b198ce14
20 changed files with 37 additions and 22 deletions

View File

@@ -1167,7 +1167,6 @@ void CExchangeController::moveArtifact(
{
auto artifact = source->getArt(srcPosition);
auto srcLocation = ArtifactLocation(source, srcPosition);
bool changeMade = false;
for(auto slot : artifact->artType->possibleSlots.at(target->bearerType()))
{