From 918bed75821ae6724ae87f79380b240d6975f85d Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 12 Mar 1995 13:53:51 +0000 Subject: [PATCH] Remove `|| flags & ALT == 0' which was an obscure no-op, not a parenthesization/precedence bug. --- lib/libc/stdio/vfprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c index 65a1eb4566be..dc2769e4d0af 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 */