Browse Source

v.build: no need to call exit() after G_fatal_error()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51972 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 năm trước cách đây
mục cha
commit
55e50ca295
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      vector/v.build/main.c

+ 0 - 2
vector/v.build/main.c

@@ -111,14 +111,12 @@ int main(int argc, char *argv[])
 	    if (0 != strcmp(xmapset, G_mapset())) {
 		G_fatal_error(_("Vector map <%s> is not in current mapset"),
 			      map_opt->answer);
-		exit(EXIT_FAILURE);
 	    }
 	}
 	Vect_set_open_level(1);
 	if (Vect_open_old(&Map, map_opt->answer, G_mapset()) < 0) {
 	    G_fatal_error(_("Unable to build topology for <%s>"),
 			  map_opt->answer);
-	    exit(EXIT_FAILURE);
 	}
 	Vect_build(&Map);
     }