Browse Source

Vlib: fix missing var

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55269 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 years ago
parent
commit
f99e44a481
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lib/vector/Vlib/break_lines.c

+ 1 - 2
lib/vector/Vlib/break_lines.c

@@ -146,7 +146,7 @@ break_lines(struct Map_info *Map, struct ilist *List_break,
     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 @@ break_lines(struct Map_info *Map, struct ilist *List_break,
 	    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 */