[GRASS-SVN] r65547 - grass-addons/grass7/vector/v.nnstat

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 8 05:28:22 PDT 2015


Author: evas
Date: 2015-07-08 05:28:22 -0700 (Wed, 08 Jul 2015)
New Revision: 65547

Modified:
   grass-addons/grass7/vector/v.nnstat/main.c
Log:
v.nnstat: fixed warnings

Modified: grass-addons/grass7/vector/v.nnstat/main.c
===================================================================
--- grass-addons/grass7/vector/v.nnstat/main.c	2015-07-08 11:43:45 UTC (rev 65546)
+++ grass-addons/grass7/vector/v.nnstat/main.c	2015-07-08 12:28:22 UTC (rev 65547)
@@ -29,7 +29,7 @@
   struct points pnts;          // points: coordinates, number etc.
 
   struct nearest nna;          // structure to save results
-  int field, pass;
+  int field;
 
   struct {
     struct Option *map, *A, *type, *field, *lyr, *desc, *zcol; /* A - area (minimum enclosing rectangle or specified by user) */
@@ -39,11 +39,6 @@
     struct Flag *d23;
   } flg;
 
-  int i;
-  FILE *fp;
-  double *dist_comp;
-  double *d;
-
   /* Module creation */
   module = G_define_module();
   G_add_keyword(_("vector"));



More information about the grass-commit mailing list