[mapserver-commits] r11583 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Apr 15 06:01:11 EDT 2011


Author: tbonfort
Date: 2011-04-15 03:01:11 -0700 (Fri, 15 Apr 2011)
New Revision: 11583

Modified:
   trunk/mapserver/mapgd.c
Log:
silence spurious gcc warning


Modified: trunk/mapserver/mapgd.c
===================================================================
--- trunk/mapserver/mapgd.c	2011-04-15 09:55:46 UTC (rev 11582)
+++ trunk/mapserver/mapgd.c	2011-04-15 10:01:11 UTC (rev 11583)
@@ -309,7 +309,7 @@
 {
   gdImagePtr ip;
   int c;
-  gdImagePtr brush;
+  gdImagePtr brush=NULL;
   
   if(!img || !p || !stroke) return MS_FAILURE;
   if(!(ip = MS_IMAGE_GET_GDIMAGEPTR(img))) return MS_FAILURE;



More information about the mapserver-commits mailing list