[GRASS-SVN] r65876 - grass/branches/releasebranch_7_0/vector/v.neighbors

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 10 07:18:42 PDT 2015


Author: neteler
Date: 2015-08-10 07:18:42 -0700 (Mon, 10 Aug 2015)
New Revision: 65876

Modified:
   grass/branches/releasebranch_7_0/vector/v.neighbors/main.c
Log:
v.neighbors: change G_fatal_error to G_warning (modification of r62746, trunk r65875)

Modified: grass/branches/releasebranch_7_0/vector/v.neighbors/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.neighbors/main.c	2015-08-10 14:17:56 UTC (rev 65875)
+++ grass/branches/releasebranch_7_0/vector/v.neighbors/main.c	2015-08-10 14:18:42 UTC (rev 65876)
@@ -95,8 +95,7 @@
     if (box.N > region.north + radius || box.S < region.south - radius ||
         box.E > region.east + radius || box.W < region.west - radius) {
 	Vect_close(&In);
-	G_fatal_error(_("Input vector and computational region do not overlap"));
-	exit(EXIT_FAILURE);
+	G_warning(_("Input vector and computational region do not overlap"));
     }
 
     dia = sqrt(region.ns_res * region.ns_res + region.ew_res * region.ew_res);



More information about the grass-commit mailing list