From 8a812e2ec987dea407c305744252b6ae11876f1c Mon Sep 17 00:00:00 2001
From: sbarman <sbarman@L3CWZ5T.(none)>
Date: Mon, 27 Jun 2011 10:51:13 -0700
Subject: [PATCH] clean up

---
 pdf.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pdf.js b/pdf.js
index 0c6f12b50..43514ebf0 100644
--- a/pdf.js
+++ b/pdf.js
@@ -4535,7 +4535,6 @@ var PDFImage = (function() {
             // rows start at byte boundary;
             var rowBytes = (width * numComps * bpc + 7) >> 3;
             var imgArray = this.image.getBytes(height * rowBytes);
-            var imgPos = 0;
             
             var comps = this.getComponents(imgArray);
             var compsPos = 0;
@@ -4565,7 +4564,7 @@ var PDFImage = (function() {
                     TODO("Images with "+ numComps + " components per pixel");
             }
         },
-        fillGrayBuffer: function fillGrayScaleBuffer(buffer) {
+        fillGrayBuffer: function fillGrayBuffer(buffer) {
             var numComps = this.numComps;
             if (numComps != 1)
                 error("Reading gray scale from a color image");