[mapserver-commits] r7318 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Jan 28 12:12:42 EST 2008


Author: Assefa
Date: 2008-01-28 12:12:42 -0500 (Mon, 28 Jan 2008)
New Revision: 7318

Modified:
   trunk/mapserver/mapowscommon.c
Log:
Fix error building on windows

Modified: trunk/mapserver/mapowscommon.c
===================================================================
--- trunk/mapserver/mapowscommon.c	2008-01-28 15:55:00 UTC (rev 7317)
+++ trunk/mapserver/mapowscommon.c	2008-01-28 17:12:42 UTC (rev 7318)
@@ -524,6 +524,7 @@
   char LowerCorner[100];
   char UpperCorner[100];
   char dim_string[100];
+  xmlNodePtr psRootNode = NULL;
 
   /* Do we need to reorient tuple axes? */
   {
@@ -538,7 +539,6 @@
       msFreeProjection( &proj );
   }
 
-  xmlNodePtr psRootNode = NULL;
 
   if (_validateNamespace(psNsOws) == MS_FAILURE)
     psNsOws = xmlNewNs(psRootNode, BAD_CAST MS_OWSCOMMON_OWS_NAMESPACE_URI, BAD_CAST MS_OWSCOMMON_OWS_NAMESPACE_PREFIX);



More information about the mapserver-commits mailing list