1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

Remove some unused variables from src/

Only obviously useless, local variables have been removed.
This commit is contained in:
Rob Wu 2014-04-11 23:01:08 +02:00
parent d7dfa447cd
commit 2e97c0d085
17 changed files with 9 additions and 111 deletions

View file

@ -503,7 +503,6 @@ var Lexer = (function LexerClosure() {
} else if (ch === 0x45 || ch === 0x65) { // 'E', 'e'
// 'E' can be either a scientific notation or the beginning of a new
// operator
var hasE = true;
ch = this.peekChar();
if (ch === 0x2B || ch === 0x2D) { // '+', '-'
powerValueSign = (ch === 0x2D) ? -1 : 1;
@ -781,7 +780,6 @@ var Lexer = (function LexerClosure() {
return Cmd.get(str);
},
skipToNextLine: function Lexer_skipToNextLine() {
var stream = this.stream;
var ch = this.currentChar;
while (ch >= 0) {
if (ch === 0x0D) { // CR