[GRASS-SVN] r70303 - grass/branches/releasebranch_7_2/vector/v.info

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 8 06:16:52 PST 2017


Author: martinl
Date: 2017-01-08 06:16:52 -0800 (Sun, 08 Jan 2017)
New Revision: 70303

Modified:
   grass/branches/releasebranch_7_2/vector/v.info/level1.c
Log:
v.info: level1 - print info message, remove unused variable (cosmentics) (merge r70301 from trunk)

Modified: grass/branches/releasebranch_7_2/vector/v.info/level1.c
===================================================================
--- grass/branches/releasebranch_7_2/vector/v.info/level1.c	2017-01-08 14:15:39 UTC (rev 70302)
+++ grass/branches/releasebranch_7_2/vector/v.info/level1.c	2017-01-08 14:16:52 UTC (rev 70303)
@@ -6,7 +6,7 @@
 int level_one_info(struct Map_info *Map)
 {
     struct Plus_head *plus;
-    int i, type, first = 1;
+    int type, first = 1;
     off_t offset;
     struct line_pnts *Points;
     struct line_cats *Cats;
@@ -26,8 +26,8 @@
     Cats = Vect_new_cats_struct();
     
     Vect_rewind(Map);
-    /* G_message(_("Registering primitives...")); */
-    i = 1;
+    G_message(_("Topology not available for vector map <%s>. "
+                "Registering primitives..."), Vect_get_full_name(Map));
     while (1) {
 	/* register line */
 	type = Vect_read_next_line(Map, Points, Cats);



More information about the grass-commit mailing list