[GRASS-SVN] r68861 - grass/branches/releasebranch_6_4/general/g.region
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 5 08:22:25 PDT 2016
Author: annakrat
Date: 2016-07-05 08:22:25 -0700 (Tue, 05 Jul 2016)
New Revision: 68861
Modified:
grass/branches/releasebranch_6_4/general/g.region/printwindow.c
Log:
g.region: fix uninitialized struct - fixes convergence angle, #1500 (merge from trunk, r68462)
Modified: grass/branches/releasebranch_6_4/general/g.region/printwindow.c
===================================================================
--- grass/branches/releasebranch_6_4/general/g.region/printwindow.c 2016-07-05 14:36:04 UTC (rev 68860)
+++ grass/branches/releasebranch_6_4/general/g.region/printwindow.c 2016-07-05 15:22:25 UTC (rev 68861)
@@ -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