mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Fixes some static analysis warnings and recommendations
* Useless conditional * Superfluous trailing arguments * Useless assignment to local variable * Misspelled identifier * JSDoc tag for non-existent parameter
This commit is contained in:
parent
d20002b6b1
commit
32ce369d88
9 changed files with 32 additions and 43 deletions
|
@ -331,7 +331,7 @@ var CFFParser = (function CFFParserClosure() {
|
|||
function parseOperand() {
|
||||
var value = dict[pos++];
|
||||
if (value === 30) {
|
||||
return parseFloatOperand(pos);
|
||||
return parseFloatOperand();
|
||||
} else if (value === 28) {
|
||||
value = dict[pos++];
|
||||
value = ((value << 24) | (dict[pos++] << 16)) >> 16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue