[GRASS-SVN] r55269 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 28 10:57:45 PST 2013


Author: mmetz
Date: 2013-02-28 10:57:45 -0800 (Thu, 28 Feb 2013)
New Revision: 55269

Modified:
   grass/trunk/lib/vector/Vlib/break_lines.c
Log:
Vlib: fix missing var

Modified: grass/trunk/lib/vector/Vlib/break_lines.c
===================================================================
--- grass/trunk/lib/vector/Vlib/break_lines.c	2013-02-28 18:53:09 UTC (rev 55268)
+++ grass/trunk/lib/vector/Vlib/break_lines.c	2013-02-28 18:57:45 UTC (rev 55269)
@@ -146,7 +146,7 @@
     struct line_pnts *APoints, *BPoints, *Points;
     struct line_pnts **AXLines, **BXLines;
     struct line_cats *ACats, *BCats, *Cats;
-    int j, k, l, ret, atype, btype, aline, bline, found, iline;
+    int i, j, k, l, ret, atype, btype, aline, bline, found, iline;
     int nlines, nlines_org;
     int naxlines, nbxlines, nx;
     double *xx = NULL, *yx = NULL, *zx = NULL;
@@ -335,7 +335,6 @@
 	    if (aline == bline && naxlines == 0 && nbxlines == 0 &&
 		APoints->n_points >= 3) {
 		int centre;
-		int i;
 
 		G_debug(3, "  Check collapsed loop");
 		if (APoints->n_points % 2) {	/* odd number of vertices */



More information about the grass-commit mailing list