[mapserver-commits] r12160 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:03:12 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:03:11 -0700 (Fri, 26 Aug 2011)
New Revision: 12160

Modified:
   trunk/mapserver/mapcache/src/tileset.c
Log:
fix parsing of image formats
thomas.bonfort | 2010-11-09 20:02:28 +0100 (Tue, 09 Nov 2010)

Modified: trunk/mapserver/mapcache/src/tileset.c
===================================================================
--- trunk/mapserver/mapcache/src/tileset.c	2011-08-26 11:03:08 UTC (rev 12159)
+++ trunk/mapserver/mapcache/src/tileset.c	2011-08-26 11:03:11 UTC (rev 12160)
@@ -213,7 +213,7 @@
  */
 void geocache_tileset_tile_get(geocache_context *ctx, geocache_tile *tile) {
    int isLocked,ret;
-   geocache_metatile *mt;
+   geocache_metatile *mt=NULL;
    if(tile->sx != tile->tileset->tile_sx || tile->sy != tile->tileset->tile_sy) {
       ctx->set_error(ctx, GEOCACHE_TILESET_ERROR, 
             "tileset %s: asked for a %dx%d tile from a %dx%d tileset",tile->tileset->name,



More information about the mapserver-commits mailing list