Browse Source

r.to.vect: Removed unnecessary variables

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60966 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 11 years ago
parent
commit
787e9d762a
1 changed files with 4 additions and 7 deletions
  1. 4 7
      raster/r.to.vect/lines.c

+ 4 - 7
raster/r.to.vect/lines.c

@@ -495,13 +495,10 @@ static int update_list(int count)
 	    v_list[col - 1].right = start_line(1);
 	break;
     default:
-	{
-	    double x, y;
-	    x = Rast_col_to_easting((double)(col - .5), &cell_head);
-	    y = Rast_row_to_northing((double)(row + .5), &cell_head);
-	    G_message(_("Crowded cell at (%f, %f): row %d, col %d, count %d"),
-		      x, y, row, col - 1, count);
-	}
+	G_message(_("Crowded cell at (%f, %f): row %d, col %d, count %d"),
+		  Rast_col_to_easting((double)col - .5, &cell_head),
+		  Rast_row_to_northing((double)row + .5, &cell_head),
+		  row, col - 1, count);
 	G_fatal_error(_("Raster map is not thinned properly.\nPlease run r.thin."));
     }				/* switch count */