[mapserver-commits] r11431 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Mar 31 10:23:53 EDT 2011


Author: tbonfort
Date: 2011-03-31 07:23:53 -0700 (Thu, 31 Mar 2011)
New Revision: 11431

Modified:
   trunk/mapserver/mapkmlrenderer.cpp
Log:
fix some compiler warnings


Modified: trunk/mapserver/mapkmlrenderer.cpp
===================================================================
--- trunk/mapserver/mapkmlrenderer.cpp	2011-03-31 14:12:42 UTC (rev 11430)
+++ trunk/mapserver/mapkmlrenderer.cpp	2011-03-31 14:23:53 UTC (rev 11431)
@@ -125,8 +125,9 @@
     xmlChar *buf = NULL;
     msIOContext *context = NULL;
     int chunkSize = 4096;
-    
+#if defined(CPL_ZIP_API_OFFERED)
     int bZip = MS_FALSE;
+#endif
  
     if( msIO_needBinaryStdout() == MS_FAILURE )
       return MS_FAILURE;
@@ -1236,7 +1237,6 @@
 /*      http://code.google.com/apis/kml/documentation/extendeddata.html */
 /* -------------------------------------------------------------------- */
         
-        char lineBuf[512];
         xmlNodePtr extendedDataNode = xmlNewNode(NULL, BAD_CAST "ExtendedData");
         xmlNodePtr dataNode = NULL; 
         const char*pszAlias=NULL;



More information about the mapserver-commits mailing list