[GRASS-SVN] r67930 - grass/trunk/raster/r.in.xyz

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 24 00:47:28 PST 2016


Author: mmetz
Date: 2016-02-24 00:47:28 -0800 (Wed, 24 Feb 2016)
New Revision: 67930

Modified:
   grass/trunk/raster/r.in.xyz/main.c
Log:
r.in.xyz: fix r67928

Modified: grass/trunk/raster/r.in.xyz/main.c
===================================================================
--- grass/trunk/raster/r.in.xyz/main.c	2016-02-23 21:22:40 UTC (rev 67929)
+++ grass/trunk/raster/r.in.xyz/main.c	2016-02-24 08:47:28 UTC (rev 67930)
@@ -485,7 +485,6 @@
 	    npasses++;
 	else
 	    last_rows = rows;
-
     }
     cols = region.cols;
 
@@ -494,8 +493,6 @@
     G_debug(2, "region.rows=%d  [box_rows=%d]  region.cols=%d", region.rows,
 	    rows, region.cols);
 
-    npasses = (int)ceil(1.0 * region.rows / rows);
-
     if (!scan_flag->answer) {
 	/* check if rows * (cols + 1) go into a size_t */
 	if (sizeof(size_t) < 8) {



More information about the grass-commit mailing list