[GRASS-SVN] r51475 - grass/trunk/vector/v.out.vtk

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 18 15:13:22 EDT 2012


Author: mmetz
Date: 2012-04-18 12:13:22 -0700 (Wed, 18 Apr 2012)
New Revision: 51475

Modified:
   grass/trunk/vector/v.out.vtk/Makefile
   grass/trunk/vector/v.out.vtk/writeVTK.c
Log:
add DBMILIB, remove unused variable

Modified: grass/trunk/vector/v.out.vtk/Makefile
===================================================================
--- grass/trunk/vector/v.out.vtk/Makefile	2012-04-18 17:35:58 UTC (rev 51474)
+++ grass/trunk/vector/v.out.vtk/Makefile	2012-04-18 19:13:22 UTC (rev 51475)
@@ -2,8 +2,8 @@
 
 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)
 

Modified: grass/trunk/vector/v.out.vtk/writeVTK.c
===================================================================
--- grass/trunk/vector/v.out.vtk/writeVTK.c	2012-04-18 17:35:58 UTC (rev 51474)
+++ grass/trunk/vector/v.out.vtk/writeVTK.c	2012-04-18 19:13:22 UTC (rev 51475)
@@ -613,7 +613,6 @@
 		      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 @@
 	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);



More information about the grass-commit mailing list