From b6dcffa48a51c0636c6ed4e4aea0ed55d5433cdd Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Mon, 5 Mar 2018 15:26:09 +1100 Subject: [PATCH] Bye bye dead code --- src/game_config.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/game_config.cpp b/src/game_config.cpp index fc2f7896e968..35e63a825d35 100644 --- a/src/game_config.cpp +++ b/src/game_config.cpp @@ -42,13 +42,6 @@ const std::string version = VERSION; const version_info wesnoth_version(VERSION); const version_info min_savegame_version(MIN_SAVEGAME_VERSION); const version_info test_version("test"); -// Not sure if there's any actual good use for this, which is why I haven't added it to the header... -// In particular, it shouldn't be used for deprecation messages, because that would defeat the point. -const version_info next_dev_version( - wesnoth_version.major_version(), - wesnoth_version.minor_version() + is_even(wesnoth_version.minor_version()) ? 1 : 0, - is_odd(wesnoth_version.minor_version()) ? wesnoth_version.revision_level() + 1 : 0 -); #ifdef REVISION const std::string revision = VERSION " (" REVISION ")";