[GRASS-SVN] r59075 - grass/trunk/raster/r.statistics2

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 17 11:47:13 PST 2014


Author: mmetz
Date: 2014-02-17 11:47:13 -0800 (Mon, 17 Feb 2014)
New Revision: 59075

Modified:
   grass/trunk/raster/r.statistics2/main.c
Log:
r.statistics2: add missing break

Modified: grass/trunk/raster/r.statistics2/main.c
===================================================================
--- grass/trunk/raster/r.statistics2/main.c	2014-02-17 16:09:38 UTC (rev 59074)
+++ grass/trunk/raster/r.statistics2/main.c	2014-02-17 19:47:13 UTC (rev 59075)
@@ -390,6 +390,7 @@
     case RANGE:
 	for (i = 0; i < ncats; i++)
 	    result[i] = max[i] - min[i];
+	break;
     case VARIANCE1:
 	for (i = 0; i < ncats; i++) {
 	    double n = count[i];



More information about the grass-commit mailing list