From 2d207afe8e12f00b5a1276a678e2402c3c4c7961 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 24 Oct 2015 13:31:42 -0400 Subject: Fix compilation under MSVC and remove unnecessary conditional function prototype Thanks to SmallJoker for pointing this out. --- src/main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d5fcae2f7..1538c15d4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -450,13 +450,8 @@ static bool init_common(const Settings &cmd_args, int argc, char *argv[]) // Initialize HTTP fetcher httpfetch_init(g_settings->getS32("curl_parallel_limit")); -#ifdef _MSC_VER init_gettext(porting::path_locale.c_str(), g_settings->get("language"), argc, argv); -#else - init_gettext(porting::path_locale.c_str(), - g_settings->get("language")); -#endif return true; } -- cgit v1.2.3