Sfoglia il codice sorgente

remove debug info

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52806 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 anni fa
parent
commit
ae504ecc4b
1 ha cambiato i file con 0 aggiunte e 22 eliminazioni
  1. 0 22
      vector/v.in.ogr/geom.c

+ 0 - 22
vector/v.in.ogr/geom.c

@@ -259,28 +259,6 @@ geom(OGRGeometryH hGeom, struct Map_info *Map, int field, int cat,
 
 	Vect_append_point(Points, OGR_G_GetX(hGeom, 0), OGR_G_GetY(hGeom, 0),
 			  OGR_G_GetZ(hGeom, 0));
-
-	if (Points->x[0] != Points->x[0])
-	    G_warning("x is nan");
-	if (Points->y[0] != Points->y[0])
-	    G_warning("y is nan");
-	if (Points->z[0] != Points->z[0])
-	    G_warning("y is nan");
-
-	if (Points->x[0] > PORT_DOUBLE_MAX)
-	    G_warning("x is inf");
-	if (Points->y[0] > PORT_DOUBLE_MAX)
-	    G_warning("y is inf");
-	if (Points->z[0] > PORT_DOUBLE_MAX)
-	    G_warning("y is inf");
-
-	if (Points->x[0] < -PORT_DOUBLE_MAX)
-	    G_warning("x is -inf");
-	if (Points->y[0] < -PORT_DOUBLE_MAX)
-	    G_warning("y is -inf");
-	if (Points->z[0] < -PORT_DOUBLE_MAX)
-	    G_warning("y is -inf");
-
 	if (type & GV_CENTROID)
 	    otype = GV_CENTROID;
 	else