From 77ae80f8429566780e038c3d4fc45bb3b772b657 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 9 Apr 2023 12:07:16 +0200 Subject: [PATCH] wutil.cpp: remove unused function --- src/wutil.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/wutil.cpp b/src/wutil.cpp index cd20e3187..9013ad59a 100644 --- a/src/wutil.cpp +++ b/src/wutil.cpp @@ -627,11 +627,6 @@ int fish_wcswidth(const wchar_t *str) { return fish_wcswidth(str, std::wcslen(st /// See fallback.h for the normal definitions. int fish_wcswidth(const wcstring &str) { return fish_wcswidth(str.c_str(), str.size()); } -locale_t fish_c_locale() { - static const locale_t loc = newlocale(LC_ALL_MASK, "C", nullptr); - return loc; -} - static bool fish_numeric_locale_is_valid = false; void fish_invalidate_numeric_locale() {