Commit 1234cb43 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Conditionally declare conditionally used variable.

parent 76db9ac6
......@@ -373,8 +373,8 @@ void readGetBuffers ( int tsID, int vdate, int vtime )
{
int nProcsModel = commInqNProcsModel ();
int root = commInqRootGlob ();
int myCollRank = commInqRankColl();
#ifdef HAVE_NETCDF4
int myCollRank = commInqRankColl();
MPI_Comm collComm = commInqCommColl();
#endif
xdebug("%s", "START");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment