[mapserver-commits] r8508 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Feb 5 15:01:05 EST 2009
Author: pramsey
Date: 2009-02-05 15:01:05 -0500 (Thu, 05 Feb 2009)
New Revision: 8508
Modified:
trunk/mapserver/mapfile.c
Log:
Initialize stack variable to NULL.
Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c 2009-02-05 19:36:50 UTC (rev 8507)
+++ trunk/mapserver/mapfile.c 2009-02-05 20:01:05 UTC (rev 8508)
@@ -2743,7 +2743,7 @@
int loadLayer(layerObj *layer, mapObj *map)
{
int type;
- char *string;
+ char *string = NULL;
char *templatepattern = NULL;
layer->map = (mapObj *)map;
More information about the mapserver-commits
mailing list