common: Enable warnings as errors

Cleans up common so that we can enable warnings as errors.
This commit is contained in:
Lioncash 2020-10-30 15:02:02 -04:00
parent 14a97d082e
commit 4a4b685a04
10 changed files with 57 additions and 37 deletions

View file

@ -274,7 +274,6 @@ const char* GetLogClassName(Class log_class) {
case Class::Count:
break;
}
UNREACHABLE();
return "Invalid";
}
@ -293,7 +292,6 @@ const char* GetLevelName(Level log_level) {
break;
}
#undef LVL
UNREACHABLE();
return "Invalid";
}