1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Fixed some of the warnings detected by CI run

This commit is contained in:
Ivan Savenko
2022-12-08 23:20:42 +02:00
parent facf77b3ae
commit db2a40600d
16 changed files with 51 additions and 36 deletions

View File

@ -576,7 +576,7 @@ CModInfo::Version CModInfo::Version::fromString(std::string from)
patch = std::stoi(from.substr(pointPos + 1));
}
}
catch(const std::invalid_argument & e)
catch(const std::invalid_argument &)
{
return Version();
}