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

Merge pull request #7281 from yurydelendik/static-warnings

Fixes some static analysis warnings and recommendations
This commit is contained in:
Tim van der Meij 2016-05-03 01:26:17 +02:00
commit 9c95d089de
9 changed files with 32 additions and 43 deletions

View file

@ -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;