Преглед изворни кода

print also number of vectors

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53283 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler пре 12 година
родитељ
комит
4fd2f30231
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      vector/v.univar/main.c

+ 1 - 1
vector/v.univar/main.c

@@ -66,6 +66,7 @@ int first = 1;
 
 /* Statistics */
 int count = 0;		/* number of features with non-null attribute */
+int nlines;          /* number of primitives */
 double sum = 0.0;
 double sumsq = 0.0;
 double sumcb = 0.0;
@@ -181,7 +182,6 @@ static void select_from_geometry(void)
     int i, j, k, ncats, *cats;
     int type;
     struct line_pnts *iPoints, *jPoints;
-    int nlines;
 
     iPoints = Vect_new_line_struct();
     jPoints = Vect_new_line_struct();