From: Arnaud Giersch Date: Wed, 19 Mar 2014 09:54:54 +0000 (+0100) Subject: Add explicit initialization for the f77 field. X-Git-Tag: v3_11~213^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/453d43c197818b5469f79845e522f5451c811791?ds=sidebyside Add explicit initialization for the f77 field. --- diff --git a/src/smpi/smpi_f77.c b/src/smpi/smpi_f77.c index fa9a80075d..aa9af8c26e 100644 --- a/src/smpi/smpi_f77.c +++ b/src/smpi/smpi_f77.c @@ -27,9 +27,9 @@ union u_smpi_common { integer _MPI_BOTTOM; integer _MPI_STATUS_IGNORE; integer _MPI_STATUSES_IGNORE; - } f90; /* with gftortran */ - struct s_smpi_common *f77; /* with f2c, remains NULL with gfortran */ -} smpi_; + } *f77; /* with f2c, remains NULL with gfortran */ + struct s_smpi_common f90; /* with gftortran */ +} smpi_ = { NULL }; /* Convert between Fortran and C */ #define F2C_ADDR(addr, val) \