From ca5e32e06f73431df51d798b5b81d556dde809c1 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 4 Oct 2024 23:37:02 -0400 Subject: [PATCH] Remove random get_language in linux locale implementation --- locale/+linux.ha | 2 -- 1 file changed, 2 deletions(-) diff --git a/locale/+linux.ha b/locale/+linux.ha index b2ba881..fea8a72 100644 --- a/locale/+linux.ha +++ b/locale/+linux.ha @@ -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;