Browse Source

v.info: level1 - print info message, remove unused variable (cosmentics)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70301 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 years ago
parent
commit
a12e56d374
1 changed files with 3 additions and 3 deletions
  1. 3 3
      vector/v.info/level1.c

+ 3 - 3
vector/v.info/level1.c

@@ -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 @@ int level_one_info(struct Map_info *Map)
     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);