Fix compiler warning about unreferenced variable

This commit is contained in:
Jyrki Vesterinen 2018-05-13 07:31:04 +03:00
parent 026ea6ee78
commit c3d711632e

View file

@ -314,7 +314,7 @@ game_info::game_info(const config& game, const config& game_config, const std::v
msi << map.w() << font::unicode_multiplication_sign << map.h();
map_size_info = msi.str();
info_stream << spaced_em_dash() << map_size_info;
} catch(incorrect_map_format_error& e) {
} catch(incorrect_map_format_error&) {
verified = false;
} catch(wml_exception& e) {
ERR_CF << "map could not be loaded: " << e.dev_message << '\n';