projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72acadd
)
(__printf_fp): Remove unnecessary second definition and initialization of decimal.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 29 Jun 2000 04:17:06 +0000
(
04:17
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 29 Jun 2000 04:17:06 +0000
(
04:17
+0000)
stdio-common/printf_fp.c
patch
|
blob
|
history
diff --git
a/stdio-common/printf_fp.c
b/stdio-common/printf_fp.c
index 1f0334f5e9615497d9d08962d163d86790299666..1de19c26073a2bbbca7f30229381a6ac7d29f475 100644
(file)
--- 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)