]> git.ipfire.org Git - thirdparty/glibc.git/commit
locale/programs/locarchive.c: Remove unnecessary check in add_locale_archive
authorFrédéric Bérat <fberat@redhat.com>
Wed, 26 Apr 2023 12:30:58 +0000 (08:30 -0400)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 26 Apr 2023 12:32:14 +0000 (08:32 -0400)
commita9f806d4532de2c9124c6caaae88b53ea56cdddd
tree48aa1dee40fa340e601140b729be61526abbd09b
parente91c7b53c4775b789aca801f41ff02c0149c84dc
locale/programs/locarchive.c: Remove unnecessary check in add_locale_archive

Since asprintf is called "if (mask & XPG_NORM_CODESET)" there is no
point in checking the mask again within the asprintf call.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
locale/programs/locarchive.c