[mapserver-commits] r12663 - trunk/mapserver/mapcache/src
svn at osgeo.org
svn at osgeo.org
Fri Oct 14 09:17:39 EDT 2011
Author: tbonfort
Date: 2011-10-14 06:17:39 -0700 (Fri, 14 Oct 2011)
New Revision: 12663
Modified:
trunk/mapserver/mapcache/src/cache_tiff.c
Log:
no use in creating an empty image in this case
Modified: trunk/mapserver/mapcache/src/cache_tiff.c
===================================================================
--- trunk/mapserver/mapcache/src/cache_tiff.c 2011-10-14 13:06:57 UTC (rev 12662)
+++ trunk/mapserver/mapcache/src/cache_tiff.c 2011-10-14 13:17:39 UTC (rev 12663)
@@ -639,12 +639,6 @@
GTIFWriteKeys( psGTIF );
GTIFFree( psGTIF );
#endif
-
- int cc = TIFFTileSize( hTIFF );
- unsigned char *pabyZeros = (unsigned char *) calloc(cc,1);
- TIFFWriteEncodedTile(hTIFF, 0, pabyZeros, cc);
- free( pabyZeros );
-
}
int tiff_offx, tiff_offy; /* the x and y offset of the tile inside the tiff image */
int tiff_off; /* the index of the tile inside the list of tiles of the tiff image */
More information about the mapserver-commits
mailing list