summaryrefslogtreecommitdiff
path: root/stdio
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-07-26 14:04:19 +0000
committerRoland McGrath <roland@gnu.org>1995-07-26 14:04:19 +0000
commit4e1bac76a81d99ff4658fb86edb04356d357017d (patch)
tree6050ea749a98995c62fc462f0f1ae6ebca5afd57 /stdio
parent3d61b63cc722951e3a5261e6bc3f0488eb35d441 (diff)
* stdio/vfscanf.c (conv_error): Simplify expression to avoid
"value computed is not used" warning. * Makeconfig (+gccwarn): Removed -Wconversion. * csu/initfini.c (GLOBAL): Macro removed. (_init, _fini): Always define globally. * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
Diffstat (limited to 'stdio')
-rw-r--r--stdio/vfscanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio/vfscanf.c b/stdio/vfscanf.c
index cdfedc2485..6eacc2b309 100644
--- a/stdio/vfscanf.c
+++ b/stdio/vfscanf.c
@@ -36,7 +36,7 @@ Cambridge, MA 02139, USA. */
#define inchar() ((c = getc(s)) == EOF ? EOF : (++read_in, c))
-#define conv_error() return ((c == EOF || ungetc(c, s)), done)
+#define conv_error() return (ungetc(c, s), done)
#define input_error() return (done == 0 ? EOF : done)
#define memory_error() return ((errno = ENOMEM), EOF)