diff --git a/src/client/keycode.cpp b/src/client/keycode.cpp index bbba34d2e..76f781595 100644 --- a/src/client/keycode.cpp +++ b/src/client/keycode.cpp @@ -238,8 +238,6 @@ static const table_key &lookup_keychar(wchar_t Char) return table_key; } - std::ostringstream os; - os << ""; auto newsym = wide_to_utf8(std::wstring_view(&Char, 1)); table_key new_key {newsym, irr::KEY_KEY_CODES_COUNT, Char, newsym}; return table.emplace_back(std::move(new_key)); @@ -271,8 +269,6 @@ static const table_key &lookup_keykey(irr::EKEY_CODE key) return table_key; } - std::ostringstream os; - os << ""; return invalid_key; }