Browse Source

v.neighbors: change G_fatal_error to G_warning (modification of https://trac.osgeo.org/grass/changeset/62746, trunk https://trac.osgeo.org/grass/changeset/65875)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65876 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 years ago
parent
commit
a7d09ced9a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      vector/v.neighbors/main.c

+ 1 - 2
vector/v.neighbors/main.c

@@ -95,8 +95,7 @@ int main(int argc, char *argv[])
     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);