Merge pull request #6602 from SachinVin/wall

Chore: enable `-Werror` on GCC and clang
This commit is contained in:
SachinVin 2023-06-18 22:37:39 +05:30 committed by GitHub
commit 35d1b67fd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 124 additions and 114 deletions

View file

@ -170,7 +170,7 @@ static std::wstring CPToUTF16(u32 code_page, const std::string& input) {
MultiByteToWideChar(code_page, 0, input.data(), static_cast<int>(input.size()), nullptr, 0);
if (size == 0) {
return L"";
return {};
}
std::wstring output(size, L'\0');