diff --git a/src/gettext.hpp b/src/gettext.hpp index 5f6b13d3a29..da0e550f0e6 100644 --- a/src/gettext.hpp +++ b/src/gettext.hpp @@ -74,8 +74,6 @@ namespace translation void set_language(const std::string& language, const std::vector* alternates); - void init(); - /** Case-sensitive lexicographical comparison. */ int compare(const std::string& s1,const std::string& s2); diff --git a/src/gettext_boost.cpp b/src/gettext_boost.cpp index bd47f17b183..a52626cc51e 100644 --- a/src/gettext_boost.cpp +++ b/src/gettext_boost.cpp @@ -438,10 +438,6 @@ int icompare(const std::string& s1, const std::string& s2) #endif } -void init() -{ -} - std::string strftime(const std::string& format, const std::tm* time) { std::basic_ostringstream dummy; diff --git a/src/tests/utils/game_config_manager.cpp b/src/tests/utils/game_config_manager.cpp index 1e14b275b9c..1120369a6b6 100644 --- a/src/tests/utils/game_config_manager.cpp +++ b/src/tests/utils/game_config_manager.cpp @@ -63,7 +63,6 @@ namespace test_utils { setlocale(LC_ALL, "English"); #else std::setlocale(LC_ALL, "C"); - translation::init(); #endif const std::string& intl_dir = filesystem::get_intl_dir(); translation::bind_textdomain("wesnoth", intl_dir.c_str(), "UTF-8"); diff --git a/src/wesnoth.cpp b/src/wesnoth.cpp index 390fa029fe0..4f5dd85ad4c 100644 --- a/src/wesnoth.cpp +++ b/src/wesnoth.cpp @@ -506,7 +506,6 @@ static void init_locale() setlocale(LC_ALL, "English"); #else std::setlocale(LC_ALL, "C"); - translation::init(); #endif const std::string& intl_dir = filesystem::get_intl_dir();