From 2b104cbc0c79c3b6aba052d950d9c8573be97607 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 18 Nov 2019 17:16:59 +0100 Subject: [PATCH] Fix compiling without localization When compiling without localization a parameter was unused. This commit adds logic to properly void it --- src/path_info.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/path_info.cpp b/src/path_info.cpp index 6f216dd9c394a..7ee9ebe9d5a24 100644 --- a/src/path_info.cpp +++ b/src/path_info.cpp @@ -162,8 +162,10 @@ std::string find_translated_file( const std::string &base_path, const std::strin } } } -#endif +#else + ( void ) base_path; ( void ) extension; +#endif return fallback; } std::string PATH_INFO::autopickup()