[GRASS-SVN] r70509 - grass/trunk/raster/r.to.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 8 17:58:57 PST 2017


Author: hcho
Date: 2017-02-08 17:58:57 -0800 (Wed, 08 Feb 2017)
New Revision: 70509

Modified:
   grass/trunk/raster/r.to.vect/areas_io.c
   grass/trunk/raster/r.to.vect/global.h
Log:
r.to.vect: Fix a couple of compile errors/warnings

Modified: grass/trunk/raster/r.to.vect/areas_io.c
===================================================================
--- grass/trunk/raster/r.to.vect/areas_io.c	2017-02-08 19:53:53 UTC (rev 70508)
+++ grass/trunk/raster/r.to.vect/areas_io.c	2017-02-09 01:58:57 UTC (rev 70509)
@@ -34,7 +34,7 @@
 int write_boundary(struct COOR *seed)
 {
     struct COOR *point, *line_begin, *line_end, *last;
-    int dir, line_type, n, n1, i;
+    int dir, line_type, n, n1;
 
     point = seed;
     if ((dir = at_end(point))) {	/* already have one end of line */

Modified: grass/trunk/raster/r.to.vect/global.h
===================================================================
--- grass/trunk/raster/r.to.vect/global.h	2017-02-08 19:53:53 UTC (rev 70508)
+++ grass/trunk/raster/r.to.vect/global.h	2017-02-09 01:58:57 UTC (rev 70509)
@@ -104,7 +104,7 @@
 int extract_lines(void);
 
 /* lines_io.c */
-int write_line(struct COOR *seed);
+int write_line(struct COOR *);
 
 /* areas.c */
 int alloc_areas_bufs(int);
@@ -112,7 +112,7 @@
 int more_equivs(void);
 
 /* areas_io.c */
-int write_boundary(struct COOR *seed);
+int write_boundary(struct COOR *);
 int write_area(struct area_table *, struct equiv_table *, int, int);
 
 /* points.c */
@@ -124,4 +124,7 @@
 int at_end(struct COOR *);
 int read_row(void *);
 void insert_value(int, int, double);
-int free_ptr(struct COOR *ptr);
+int free_ptr(struct COOR *);
+
+/* set_error_handler.c */
+void set_error_handler(struct Map_info *, dbDriver **);



More information about the grass-commit mailing list