aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/io.c b/io.c
index 53d6fedbe9..8d75c291f5 100644
--- a/io.c
+++ b/io.c
@@ -1231,10 +1231,6 @@ rb_io_sysread(io, len)
n = fileno(fptr->f);
rb_thread_wait_fd(fileno(fptr->f));
- if (fptr->f == 0) {
- fprintf(stderr, "bingo\n");
- exit(1);
- }
TRAP_BEG;
n = read(fileno(fptr->f), RSTRING(str)->ptr, RSTRING(str)->len);
TRAP_END;