about summary refs log tree commit diff
path: root/src/stdio/__uflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__uflow.c')
-rw-r--r--src/stdio/__uflow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stdio/__uflow.c b/src/stdio/__uflow.c
index e28922c2..2a88bca6 100644
--- a/src/stdio/__uflow.c
+++ b/src/stdio/__uflow.c
@@ -1,11 +1,11 @@
 #include "stdio_impl.h"
 
-/* This function will never be called if there is already data
- * buffered for reading. Thus we can get by with very few branches. */
+/* This function assumes it will never be called if there is already
+ * data buffered for reading. */
 
 int __uflow(FILE *f)
 {
 	unsigned char c;
-	if ((f->rend || !__toread(f)) && f->read(f, &c, 1)==1) return c;
+	if (!__toread(f) && f->read(f, &c, 1)==1) return c;
 	return EOF;
 }