[GRASS-SVN] r52162 - grass/trunk/raster/r.in.xyz
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 20 03:25:59 PDT 2012
Author: hamish
Date: 2012-06-20 03:25:58 -0700 (Wed, 20 Jun 2012)
New Revision: 52162
Modified:
grass/trunk/raster/r.in.xyz/main.c
Log:
rm unused variable
Modified: grass/trunk/raster/r.in.xyz/main.c
===================================================================
--- grass/trunk/raster/r.in.xyz/main.c 2012-06-20 10:13:57 UTC (rev 52161)
+++ grass/trunk/raster/r.in.xyz/main.c 2012-06-20 10:25:58 UTC (rev 52162)
@@ -99,7 +99,6 @@
int out_fd;
char *infile, *outmap;
int xcol, ycol, zcol, vcol, max_col, percent;
- int do_zfilter, do_vfilter;
int method = -1;
int bin_n, bin_min, bin_max, bin_sum, bin_sumsq, bin_index;
double zrange_min, zrange_max, vrange_min, vrange_max, d_tmp;
@@ -336,14 +335,12 @@
vscale = atof(vscale_opt->answer);
/* parse zrange and vrange */
- do_zfilter = FALSE;
if (zrange_opt->answer != NULL) {
if (zrange_opt->answers[0] == NULL)
G_fatal_error(_("Invalid zrange"));
sscanf(zrange_opt->answers[0], "%lf", &zrange_min);
sscanf(zrange_opt->answers[1], "%lf", &zrange_max);
- do_zfilter = TRUE;
if (zrange_min > zrange_max) {
d_tmp = zrange_max;
@@ -352,14 +349,12 @@
}
}
- do_vfilter = FALSE;
if (vrange_opt->answer != NULL) {
if (vrange_opt->answers[0] == NULL)
G_fatal_error(_("Invalid vrange"));
sscanf(vrange_opt->answers[0], "%lf", &vrange_min);
sscanf(vrange_opt->answers[1], "%lf", &vrange_max);
- do_vfilter = TRUE;
if (vrange_min > vrange_max) {
d_tmp = vrange_max;
More information about the grass-commit
mailing list