Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /tiff.c [84521e] .. [839d2e] Maximize Restore

  Switch to side-by-side view

--- a/tiff.c
+++ b/tiff.c
@@ -794,7 +794,6 @@
 int panoTiffWriteScanLineFullSize(pano_Tiff * file, void *buffer, int row)
 {
     // Reads a scan line only if inside ROI, otherwise it only "zeroes" data
-    int bytesPerLine;
     int bytesPerPixel;
 
     assert(file != NULL);
@@ -804,8 +803,6 @@
         return FALSE;
     }
     bytesPerPixel = panoTiffBytesPerPixel(file);
-
-    bytesPerLine = panoTiffFullImageWidth(file) * bytesPerPixel;
 
     assert(panoTiffIsCropped(file) ||
            panoTiffFullImageWidth(file) == panoTiffImageWidth(file));