[GRASS-SVN] r68462 - grass/trunk/general/g.region

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


Author: annakrat
Date: 2016-05-18 17:53:22 -0700 (Wed, 18 May 2016)
New Revision: 68462

Modified:
   grass/trunk/general/g.region/printwindow.c
Log:
g.region: fix uninitialized struct - fixes convergence angle, #1500

Modified: grass/trunk/general/g.region/printwindow.c
===================================================================
--- grass/trunk/general/g.region/printwindow.c	2016-05-18 09:23:39 UTC (rev 68461)
+++ grass/trunk/general/g.region/printwindow.c	2016-05-19 00:53:22 UTC (rev 68462)
@@ -485,7 +485,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