[GRASS-SVN] r64657 - grass/branches/releasebranch_7_0/vector/v.net

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 16 11:48:39 PST 2015


Author: mmetz
Date: 2015-02-16 11:48:39 -0800 (Mon, 16 Feb 2015)
New Revision: 64657

Modified:
   grass/branches/releasebranch_7_0/vector/v.net/connect.c
Log:
v.net: initialize z, sync to trunk

Modified: grass/branches/releasebranch_7_0/vector/v.net/connect.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.net/connect.c	2015-02-16 19:48:03 UTC (rev 64656)
+++ grass/branches/releasebranch_7_0/vector/v.net/connect.c	2015-02-16 19:48:39 UTC (rev 64657)
@@ -53,6 +53,7 @@
     
 
     /* go thorough all points in point map and write a new arcs if missing */
+    pz = 0.0;
     while ((type = Vect_read_next_line(Pnts, Points, Cats)) >= 0) {
 	if (type != GV_POINT)
 	    continue;
@@ -141,6 +142,7 @@
     Vect_destroy_cats_struct(Cats);
     Vect_destroy_cats_struct(Cline);
     Vect_destroy_cats_struct(Cnew);
+    Vect_destroy_list(exclude_list);
 
     return narcs;
 }



More information about the grass-commit mailing list