소스 검색

v.net: initialize z

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64656 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 년 전
부모
커밋
e0aa34f48f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 */
+    pz = 0.0;
     while ((type = Vect_read_next_line(Pnts, Points, Cats)) >= 0) {
 	if (type != GV_POINT)
 	    continue;