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:
parent
d7dfa447cd
commit
2e97c0d085
17 changed files with 9 additions and 111 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue