[GRASS-SVN] r65875 - grass/trunk/vector/v.neighbors

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 10 07:17:56 PDT 2015


Author: neteler
Date: 2015-08-10 07:17:56 -0700 (Mon, 10 Aug 2015)
New Revision: 65875

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

Modified: grass/trunk/vector/v.neighbors/main.c
===================================================================
--- grass/trunk/vector/v.neighbors/main.c	2015-08-10 13:56:43 UTC (rev 65874)
+++ grass/trunk/vector/v.neighbors/main.c	2015-08-10 14:17:56 UTC (rev 65875)
@@ -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