[GRASS-SVN] r41153 - grass/trunk/vector/v.in.dxf

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 21 22:27:30 EST 2010


Author: hcho
Date: 2010-02-21 22:27:29 -0500 (Sun, 21 Feb 2010)
New Revision: 41153

Modified:
   grass/trunk/vector/v.in.dxf/add_polyline.c
Log:
Removed old warnings

Modified: grass/trunk/vector/v.in.dxf/add_polyline.c
===================================================================
--- grass/trunk/vector/v.in.dxf/add_polyline.c	2010-02-22 01:33:55 UTC (rev 41152)
+++ grass/trunk/vector/v.in.dxf/add_polyline.c	2010-02-22 03:27:29 UTC (rev 41153)
@@ -12,7 +12,6 @@
     int layer_flag = 0;		/* indicates if a layer name has been found */
     int polyline_flag = 0;	/* indicates the type of polyline */
     int warn_flag66 = 1;	/* indicates if error message printed once */
-    int warn_flag70 = 1;	/* indicates if error message printed once */
     int vert_flag;		/* indicates that vertices are following */
     int xflag = 0;		/* indicates if a x value has been found */
     int yflag = 0;		/* indicates if a y value has been found */
@@ -65,16 +64,6 @@
 	     128 = The linetype pattern is generated continuously around
 	           the vertices of this polyline.
 	     ******************************************************************/
-	    /* NOTE: code only exists for flag = 1 (closed polyline) or 0 */
-	    G_debug(1, "polyline_flag: %d", polyline_flag);
-	    if (polyline_flag & (8 | 16 | 32))
-		if (warn_flag70) {
-		    if (!flag_list)
-			G_warning(_
-				  ("3-d data in dxf file. Polyline_flag: %d"),
-				  polyline_flag);
-		    warn_flag70 = 0;
-		}
 	    break;
 	}
     }



More information about the grass-commit mailing list