summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-12 13:53:51 +0000
committerbde <bde@FreeBSD.org>1995-03-12 13:53:51 +0000
commitdb2028940b5b3b6722f6cce89408024bd71a039a (patch)
tree97ca486fadc564eed3e6fc79b4a59634dff7609a /lib
parentb132c690f3f57bbb2248872f5fb35a70f636a7a2 (diff)
downloadFreeBSD-src-db2028940b5b3b6722f6cce89408024bd71a039a.zip
FreeBSD-src-db2028940b5b3b6722f6cce89408024bd71a039a.tar.gz
Remove `|| flags & ALT == 0' which was an obscure no-op, not a
parenthesization/precedence bug.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/vfprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 65a1eb4..dc2769e 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -756,7 +756,7 @@ number: if ((dprec = prec) >= 0)
ox[0] = *cp++;
ox[1] = '.';
PRINT(ox, 2);
- if (_double || flags & ALT == 0) {
+ if (_double) {
PRINT(cp, ndig-1);
} else /* 0.[0..] */
/* __dtoa irregularity */
OpenPOWER on IntegriCloud