about summary refs log tree commit diff
path: root/stdio-common/printf_fp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/printf_fp.c')
-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)