[GRASS-SVN] r48589 - grass/trunk/raster/r.report

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 1 16:59:22 EDT 2011


Author: martinl
Date: 2011-10-01 13:59:22 -0700 (Sat, 01 Oct 2011)
New Revision: 48589

Modified:
   grass/trunk/raster/r.report/parse.c
Log:
r.report: remove redundant -q flag


Modified: grass/trunk/raster/r.report/parse.c
===================================================================
--- grass/trunk/raster/r.report/parse.c	2011-10-01 20:55:54 UTC (rev 48588)
+++ grass/trunk/raster/r.report/parse.c	2011-10-01 20:59:22 UTC (rev 48589)
@@ -95,10 +95,6 @@
 	_("Number of fp subranges to collect stats from");
     parms.nsteps->guisection = _("FP maps");
 
-    flags.q = G_define_flag();
-    flags.q->key = 'q';
-    flags.q->description = _("Quiet");
-
     flags.h = G_define_flag();
     flags.h->key = 'h';
     flags.h->description = _("Suppress page headers");
@@ -279,7 +275,7 @@
     size_t len;
 
     len = strlen(s);
-    if (len < min)
+    if ((int) len < min)
 	return 0;
     return strncmp(s, key, len) == 0;
 }



More information about the grass-commit mailing list