[GRASS-SVN] r68463 - grass/branches/releasebranch_7_0/general/g.region

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 18 17:55:18 PDT 2016


Author: annakrat
Date: 2016-05-18 17:55:18 -0700 (Wed, 18 May 2016)
New Revision: 68463

Modified:
   grass/branches/releasebranch_7_0/general/g.region/printwindow.c
Log:
g.region: fix uninitialized struct - fixes convergence angle, #1500 (merge from trunk, r68462)

Modified: grass/branches/releasebranch_7_0/general/g.region/printwindow.c
===================================================================
--- grass/branches/releasebranch_7_0/general/g.region/printwindow.c	2016-05-19 00:53:22 UTC (rev 68462)
+++ grass/branches/releasebranch_7_0/general/g.region/printwindow.c	2016-05-19 00:55:18 UTC (rev 68463)
@@ -496,7 +496,7 @@
 	    double mid_n_lo, mid_n_la, mid_s_lo, mid_s_la;
 	    double lat_center, lon_center;
 	    struct pj_info iproj, oproj;	/* proj parameters  */
-	    struct FACTORS fact;
+	    struct FACTORS fact = { {0} };
 
 	    /* read current projection info */
 	    if ((in_proj_info = G_get_projinfo()) == NULL)



More information about the grass-commit mailing list