aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-29 04:17:06 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-29 04:17:06 +0000
commit4968a9bd19d0ead47f9f9d4e2b9c025eff434a62 (patch)
tree6724a9ec3a2e2b9a9c19c84be8c521197a6cb389 /stdio-common
parent72acaddf14d1cf4be7acd872cd34218df05f28fb (diff)
downloadglibc-4968a9bd19d0ead47f9f9d4e2b9c025eff434a62.tar
glibc-4968a9bd19d0ead47f9f9d4e2b9c025eff434a62.tar.gz
glibc-4968a9bd19d0ead47f9f9d4e2b9c025eff434a62.tar.bz2
glibc-4968a9bd19d0ead47f9f9d4e2b9c025eff434a62.zip
(__printf_fp): Remove unnecessary second definition and initialization of decimal.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/printf_fp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
index 1f0334f5e9..1de19c2607 100644
--- a/stdio-common/printf_fp.c
+++ b/stdio-common/printf_fp.c
@@ -1076,15 +1076,10 @@ __printf_fp (FILE *fp,
if (! wide)
{
/* Create the single byte string. */
- const char *decimal;
size_t decimal_len;
size_t thousands_sep_len;
wchar_t *copywc;
- if (info->extra == 0)
- decimal = _NL_CURRENT (LC_NUMERIC, DECIMAL_POINT);
- else
- decimal = _NL_CURRENT (LC_MONETARY, MON_DECIMAL_POINT);
decimal_len = strlen (decimal);
if (thousands_sep == NULL)