瀏覽代碼

add DBMILIB, remove unused variable

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51475 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 13 年之前
父節點
當前提交
3e304b9734
共有 2 個文件被更改,包括 2 次插入4 次删除
  1. 2 2
      vector/v.out.vtk/Makefile
  2. 0 2
      vector/v.out.vtk/writeVTK.c

+ 2 - 2
vector/v.out.vtk/Makefile

@@ -2,8 +2,8 @@ MODULE_TOPDIR = ../..
 
 PGM = v.out.vtk
 
-LIBES = $(VECTORLIB) $(GISLIB)
-DEPENDENCIES = $(VECTORDEP) $(GISDEP)
+LIBES = $(VECTORLIB) $(DBMILIB) $(GISLIB)
+DEPENDENCIES = $(VECTORDEP) $(DBMIDEP) $(GISDEP)
 EXTRA_INC = $(VECT_INC)
 EXTRA_CFLAGS = $(VECT_CFLAGS)
 

+ 0 - 2
vector/v.out.vtk/writeVTK.c

@@ -613,7 +613,6 @@ int write_vtk_db_data(FILE * ascii, struct Map_info *Map, VTKInfo * info,
 		      int layer, int *types, int typenum, int dp)
 {
     int type, cat, i, k, centroid;
-    struct line_pnts *Points;
     struct line_cats *Cats;
 
     /*The keywords may only be written once! */
@@ -676,7 +675,6 @@ int write_vtk_db_data(FILE * ascii, struct Map_info *Map, VTKInfo * info,
 	return 1;
     }
 
-    Points = Vect_new_line_struct();	/* init line_pnts struct */
     Cats = Vect_new_cats_struct();
 
     G_message("Writing %i scalar variables as cell data ...", num_atts);