]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__printf_fp): Remove unnecessary second definition and initialization of decimal.
authorUlrich Drepper <drepper@redhat.com>
Thu, 29 Jun 2000 04:17:06 +0000 (04:17 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 29 Jun 2000 04:17:06 +0000 (04:17 +0000)
stdio-common/printf_fp.c

index 1f0334f5e9615497d9d08962d163d86790299666..1de19c26073a2bbbca7f30229381a6ac7d29f475 100644 (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)