[GRASS-SVN] r60966 - grass/trunk/raster/r.to.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 25 06:03:21 PDT 2014
Author: hcho
Date: 2014-06-25 06:03:21 -0700 (Wed, 25 Jun 2014)
New Revision: 60966
Modified:
grass/trunk/raster/r.to.vect/lines.c
Log:
r.to.vect: Removed unnecessary variables
Modified: grass/trunk/raster/r.to.vect/lines.c
===================================================================
--- grass/trunk/raster/r.to.vect/lines.c 2014-06-25 12:39:19 UTC (rev 60965)
+++ grass/trunk/raster/r.to.vect/lines.c 2014-06-25 13:03:21 UTC (rev 60966)
@@ -495,13 +495,10 @@
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 */
More information about the grass-commit
mailing list