[GRASS-SVN] r31595 - grass/trunk/raster/r.surf.gauss

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 1 05:46:19 EDT 2008


Author: neteler
Date: 2008-06-01 05:46:19 -0400 (Sun, 01 Jun 2008)
New Revision: 31595

Modified:
   grass/trunk/raster/r.surf.gauss/main.c
Log:
don't doublecheck overwrite

Modified: grass/trunk/raster/r.surf.gauss/main.c
===================================================================
--- grass/trunk/raster/r.surf.gauss/main.c	2008-06-01 08:04:45 UTC (rev 31594)
+++ grass/trunk/raster/r.surf.gauss/main.c	2008-06-01 09:46:19 UTC (rev 31595)
@@ -72,9 +72,6 @@
     /****** CHECK THE CELL FILE (OUT) DOES NOT ALREADY EXIST******/
     if (G_legal_filename(out->answer)=='\0')
         G_fatal_error (_("<%s> is an illegal file name"), out->answer);
-    else
-        if (G_find_cell(out->answer,"") !=NULL)
-	        G_fatal_error (_("Raster map [%s] already exists.\nPlease try another."), out->answer);
 
     /****** CREATE THE RANDOM CELL FILE  ******/
     gaussurf(out->answer,gauss_mean,gauss_sigma);



More information about the grass-commit mailing list