[GRASS-SVN] r44084 - grass/trunk/imagery/i.rectify

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 29 12:04:17 EDT 2010


Author: mmetz
Date: 2010-10-29 09:04:17 -0700 (Fri, 29 Oct 2010)
New Revision: 44084

Modified:
   grass/trunk/imagery/i.rectify/main.c
Log:
remove bogus error check

Modified: grass/trunk/imagery/i.rectify/main.c
===================================================================
--- grass/trunk/imagery/i.rectify/main.c	2010-10-29 16:03:44 UTC (rev 44083)
+++ grass/trunk/imagery/i.rectify/main.c	2010-10-29 16:04:17 UTC (rev 44084)
@@ -198,9 +198,6 @@
 	G_fatal_error(_("Invalid order (%d); please enter 1 to %d"), order,
 		      MAXORDER);
 
-    if (!(seg_mb > 0))
-	G_fatal_error(_("Amount of memory to use in MB must be > 0"));
-
     /* determine the number of files in this group */
     if (I_get_group_ref(group, &ref) <= 0) {
 	G_warning(_("Location: %s"), G_location());
@@ -253,6 +250,7 @@
     /* get the target */
     get_target(group);
 
+    /* do not use current region in target location */
     if (!c->answer) {
 	double res = -1;
 	



More information about the grass-commit mailing list