mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +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
|
@ -88,7 +88,7 @@ function readCharstringEncoding(aString) {
|
|||
} else if (value <= 18) {
|
||||
token = CFFEncodingMap[value];
|
||||
} else if (value <= 20) {
|
||||
var mask = aString[i++];
|
||||
++i; // var mask = aString[i++];
|
||||
token = CFFEncodingMap[value];
|
||||
} else if (value <= 27) {
|
||||
token = CFFEncodingMap[value];
|
||||
|
@ -340,7 +340,6 @@ var Type2Parser = function type2Parser(aFilePath) {
|
|||
}
|
||||
|
||||
// Parse the TopDict operator
|
||||
var objects = [];
|
||||
var count = topDict.length;
|
||||
for (i = 0; i < count; i++) {
|
||||
parseAsToken(topDict[i], CFFDictDataMap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue