[GRASS-SVN] r59400 - grass-addons/grass7/raster/r.stream.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 27 04:29:55 PDT 2014


Author: martinl
Date: 2014-03-27 04:29:54 -0700 (Thu, 27 Mar 2014)
New Revision: 59400

Modified:
   grass-addons/grass7/raster/r.stream.distance/distance_calc.c
Log:
fix r59399


Modified: grass-addons/grass7/raster/r.stream.distance/distance_calc.c
===================================================================
--- grass-addons/grass7/raster/r.stream.distance/distance_calc.c	2014-03-27 11:28:07 UTC (rev 59399)
+++ grass-addons/grass7/raster/r.stream.distance/distance_calc.c	2014-03-27 11:29:54 UTC (rev 59400)
@@ -492,7 +492,7 @@
     Rast_get_window(&window);
 
     if (elevation) {
-	elevation_data_size = Rast_cell_size(FCELL_TYPE);
+        /* elevation_data_size = Rast_cell_size(FCELL_TYPE); */
 	for (r = 0; r < nrows; ++r)
 	    for (c = 0; c < ncols; ++c) {
 		segment_get(elevation, &elevation_cell, r, c);



More information about the grass-commit mailing list