From 4968a9bd19d0ead47f9f9d4e2b9c025eff434a62 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 29 Jun 2000 04:17:06 +0000 Subject: (__printf_fp): Remove unnecessary second definition and initialization of decimal. --- stdio-common/printf_fp.c | 5 ----- 1 file changed, 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) -- cgit v1.2.3