From: Olivier Courtin Date: Sun, 8 Nov 2009 19:02:45 +0000 (+0000) Subject: remove an unused var. minor comment change X-Git-Tag: 1.5.0b1~271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2cdac475420c676f1d424840b0615d322c269869;p=postgis remove an unused var. minor comment change git-svn-id: http://svn.osgeo.org/postgis/trunk@4768 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/lwgeom_in_gml.c b/postgis/lwgeom_in_gml.c index 472832f22..a3760627d 100644 --- a/postgis/lwgeom_in_gml.c +++ b/postgis/lwgeom_in_gml.c @@ -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: * @@ -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