From 453d43c197818b5469f79845e522f5451c811791 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 19 Mar 2014 10:54:54 +0100 Subject: [PATCH] Add explicit initialization for the f77 field. --- src/smpi/smpi_f77.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) \ -- 2.20.1