[GRASS-SVN] r61348 - grass/branches/releasebranch_7_0/vector/v.mkgrid

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 22 15:01:05 PDT 2014


Author: neteler
Date: 2014-07-22 15:01:05 -0700 (Tue, 22 Jul 2014)
New Revision: 61348

Modified:
   grass/branches/releasebranch_7_0/vector/v.mkgrid/main.c
Log:
v.mkgrid: Remove unused line

Modified: grass/branches/releasebranch_7_0/vector/v.mkgrid/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.mkgrid/main.c	2014-07-22 21:52:41 UTC (rev 61347)
+++ grass/branches/releasebranch_7_0/vector/v.mkgrid/main.c	2014-07-22 22:01:05 UTC (rev 61348)
@@ -163,10 +163,8 @@
 	if (box->answer)
 	    G_fatal_error(_("'box' and 'position=region' are exclusive options"));
 
-	if (grid_info.angle != 0.0) {
+	if (grid_info.angle != 0.0)
 	    G_fatal_error(_("'angle' and 'position=region' are exclusive options"));
-	    grid_info.angle = 0.0;
-	}
 
 	grid_info.origin_x = window.west;
 	grid_info.origin_y = window.south;



More information about the grass-commit mailing list