[GRASS-SVN] r30714 - grass/trunk/general/g.mapsets

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 24 13:32:22 EDT 2008


Author: glynn
Date: 2008-03-24 13:32:22 -0400 (Mon, 24 Mar 2008)
New Revision: 30714

Modified:
   grass/trunk/general/g.mapsets/main_cmd.c
Log:
Remove commented-out code



Modified: grass/trunk/general/g.mapsets/main_cmd.c
===================================================================
--- grass/trunk/general/g.mapsets/main_cmd.c	2008-03-24 17:23:43 UTC (rev 30713)
+++ grass/trunk/general/g.mapsets/main_cmd.c	2008-03-24 17:32:22 UTC (rev 30714)
@@ -94,14 +94,7 @@
 
 	    mapset = *ptr;
 	    if (G__mapset_permissions (mapset) < 0)
-	    {
 		G_fatal_error(_("Mapset <%s> not found"), mapset);
-		/*
-		  G_message(_("Available mapsets:"));
-		  G_ls(G_location_path(), stderr);
-		  exit(EXIT_FAILURE);
-		*/
-	    }
 	    nchoices++;
 	    strcat (Path, mapset);
 	    strcat (Path, " ");
@@ -128,14 +121,7 @@
 
 	    mapset = *ptr;
 	    if (G__mapset_permissions (mapset) < 0)
-	    {
 		G_fatal_error(_("Mapset <%s> not found"), mapset);
-		/*
-		  G_message(_("Available mapsets:"));
-		  G_ls(G_location_path(), stderr);
-		  exit(EXIT_FAILURE);
-		*/
-	    }
 	    nchoices++;
 	    strcat (Path, mapset);
 	    strcat (Path, " ");



More information about the grass-commit mailing list