]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Remove duplicate 'setlocale' call
authorAlexandra Surdina <alexandrasurdina@gmail.com>
Mon, 27 Dec 2021 17:18:23 +0000 (18:18 +0100)
committerAlexandra Surdina <alexandrasurdina@gmail.com>
Mon, 27 Dec 2021 17:29:10 +0000 (18:29 +0100)
Co-authored by: khaleesi <contact@khaleesicodes.com>
Co-authored by: stoeckmann <tobias@stoeckmann.org>

misc-utils/look.c

index d3f0622c346517d446d8ec218150643b2ba572d8..0e6f1edd2b3a69652949b169d1a8d531dda3daa6 100644 (file)
@@ -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