]> granicus.if.org Git - postgis/commitdiff
remove an unused var. minor comment change
authorOlivier Courtin <olivier.courtin@camptocamp.com>
Sun, 8 Nov 2009 19:02:45 +0000 (19:02 +0000)
committerOlivier Courtin <olivier.courtin@camptocamp.com>
Sun, 8 Nov 2009 19:02:45 +0000 (19:02 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4768 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_in_gml.c

index 472832f226fd5e33a8e64b7c98ad4ee06fe6d224..a3760627d5db97f190e6f1e26bebd40a00ae458e 100644 (file)
@@ -21,7 +21,7 @@
 * GML versions supported:
 *  - GML 3.2.1 Namespace
 *  - GML 3.1.1 Simple Features profile SF-2
-*  - GML 3.1.0 and 3.0.0 SF elements and attributes
+*    (with backward compatibility to GML 3.1.0 and 3.0.0)
 *  - GML 2.1.2
 * Cf: <http://www.opengeospatial.org/standards/gml>
 *
@@ -522,18 +522,18 @@ static double parse_gml_double(char *d, bool space_before, bool space_after)
 static POINTARRAY* parse_gml_coordinates(xmlNodePtr xnode, bool *hasz)
 {
        xmlChar *gml_coord, *gml_ts, *gml_cs, *gml_dec;
-       char *coord, *p, *q;
        char cs, ts, dec;
        DYNPTARRAY *dpa;
        POINTARRAY *pa;
        int gml_dims;
+       char *p, *q;
        bool digit;
        POINT4D pt;
        uchar dims=0;
 
        /* We begin to retrieve coordinates string */
        gml_coord = xmlNodeGetContent(xnode);
-       p = coord = (char *) gml_coord;
+       p = (char *) gml_coord;
 
        /* Default GML coordinates pattern:     x1,y1 x2,y2 
         *                                      x1,y1,z1 x2,y2,z2