diff --git a/pdf.js b/pdf.js index c34bc76ed..ea28ca647 100644 --- a/pdf.js +++ b/pdf.js @@ -2236,9 +2236,6 @@ var Lexer = (function() { var stream = this.stream; var ch; while (true) { - if (!stream.getChar) - log("bad stream"); - if (!(ch = stream.getChar())) return EOF; if (comment) {