Skip to content

Commit d54a45a

Browse files
committed
locale-util: drop unused init_gettext()
The function has not been used since 96d9117.
1 parent ca13432 commit d54a45a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/basic/locale-util.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ int locale_is_installed(const char *name) {
281281
return true;
282282
}
283283

284-
void init_gettext(void) {
285-
setlocale(LC_ALL, "");
286-
textdomain(GETTEXT_PACKAGE);
287-
}
288-
289284
bool is_locale_utf8(void) {
290285
static int cached_answer = -1;
291286
const char *set;

src/basic/locale-util.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ int locale_is_installed(const char *name);
3535

3636
#define _(String) dgettext(GETTEXT_PACKAGE, String)
3737
#define N_(String) String
38-
void init_gettext(void);
3938

4039
bool is_locale_utf8(void);
4140

0 commit comments

Comments
 (0)