Browse Source

v.net: initialize z

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64656 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 years ago
parent
commit
e0aa34f48f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vector/v.net/connect.c

+ 1 - 0
vector/v.net/connect.c

@@ -53,6 +53,7 @@ int connect_arcs(struct Map_info *In, struct Map_info *Pnts,
     
     
 
 
     /* go thorough all points in point map and write a new arcs if missing */
     /* 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) {
     while ((type = Vect_read_next_line(Pnts, Points, Cats)) >= 0) {
 	if (type != GV_POINT)
 	if (type != GV_POINT)
 	    continue;
 	    continue;