(__printf_fp): Remove unnecessary second definition and initialization of decimal.

This commit is contained in:
Ulrich Drepper 2000-06-29 04:17:06 +00:00
parent 72acaddf14
commit 4968a9bd19

View File

@ -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)