Enable -Wunused-variable

This commit is contained in:
Nekotekina 2021-01-12 13:01:06 +03:00
parent 631d7d0ce7
commit db8e6fe7a7
62 changed files with 167 additions and 183 deletions

View file

@ -469,7 +469,7 @@ std::string vfs::escape(std::string_view name, bool escape_slash)
case char2{u8""[0]}:
{
// Escape full-width characters 0xFF01..0xFF5e with (0xFF01)
switch (char2 c2 = get_char(i + 1))
switch (get_char(i + 1))
{
case char2{u8""[1]}:
{
@ -533,7 +533,7 @@ std::string vfs::unescape(std::string_view name)
{
case char2{u8""[0]}:
{
switch (char2 c2 = get_char(i + 1))
switch (get_char(i + 1))
{
case char2{u8""[1]}:
{