[GRASS-SVN] r70301 - grass/trunk/vector/v.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 8 06:13:34 PST 2017
Author: martinl
Date: 2017-01-08 06:13:34 -0800 (Sun, 08 Jan 2017)
New Revision: 70301
Modified:
grass/trunk/vector/v.info/level1.c
Log:
v.info: level1 - print info message, remove unused variable (cosmentics)
Modified: grass/trunk/vector/v.info/level1.c
===================================================================
--- grass/trunk/vector/v.info/level1.c 2017-01-08 14:11:58 UTC (rev 70300)
+++ grass/trunk/vector/v.info/level1.c 2017-01-08 14:13:34 UTC (rev 70301)
@@ -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