From: Alexandra Surdina Date: Mon, 27 Dec 2021 17:18:23 +0000 (+0100) Subject: Remove duplicate 'setlocale' call X-Git-Tag: v2.38-rc1~87^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bae1a1ab6d253251bbe4c60e8240ade39ac67f0e;p=thirdparty%2Futil-linux.git Remove duplicate 'setlocale' call Co-authored by: khaleesi Co-authored by: stoeckmann --- diff --git a/misc-utils/look.c b/misc-utils/look.c index d3f0622c34..0e6f1edd2b 100644 --- a/misc-utils/look.c +++ b/misc-utils/look.c @@ -102,8 +102,6 @@ main(int argc, char *argv[]) textdomain(PACKAGE); close_stdout_atexit(); - setlocale(LC_ALL, ""); - if ((file = getenv("WORDLIST")) && !access(file, R_OK)) /* use the WORDLIST */; else