diff --git a/core/log/StringUtil.h b/core/log/StringUtil.h index 60cf9c163..f1ab11767 100644 --- a/core/log/StringUtil.h +++ b/core/log/StringUtil.h @@ -140,7 +140,6 @@ std::string UTF16ToCP(u32 code_page, const std::wstring& input) std::string output; output.resize(size); - bool usedDefaultChar; if (size == 0 || size != WideCharToMultiByte(code_page, 0, input.data(), static_cast(input.size()),