Remove random get_language in linux locale implementation

This commit is contained in:
Sasha Koshka 2024-10-04 23:37:02 -04:00
parent 452fde885d
commit ca5e32e06f

View File

@ -37,8 +37,6 @@ export fn get_time() locale = get_locale("LC_TIME");
// overwritten later, so use [[dup]] to extend its lifetime.
export fn get_messages() locale = get_locale("LC_MESSAGES");
fn get_language() []locale;
fn get_locale(var: str) locale =
match (get_locale_no_fallback(var)) {
case let local: locale => yield local;